mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:11:32 +02:00
[br2684ctl] Allow UCI configuration of ATM QOS parameters per interface, signed off by Ithamar R. Adema
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20266 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
80d12ff0fe
commit
a072224e49
@ -15,6 +15,7 @@ start_daemon() {
|
||||
config_get vci "$cfg" vci
|
||||
config_get encaps "$cfg" encaps
|
||||
config_get payload "$cfg" payload
|
||||
config_get qos "$cfg" qos
|
||||
case "$encaps" in
|
||||
1|vc) encaps=1;;
|
||||
*) encaps=0;;
|
||||
@ -23,7 +24,8 @@ start_daemon() {
|
||||
0|routed) payload=0;;
|
||||
*) payload=1;;
|
||||
esac
|
||||
br2684ctl -b -c "$unit" -e "$encaps" -p "$payload" -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"
|
||||
[ "$qos" ] && qos="-q $qos"
|
||||
br2684ctl -b -c "$unit" -e "$encaps" -p "$payload" $qos -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"
|
||||
}
|
||||
|
||||
start() {
|
||||
|
Loading…
Reference in New Issue
Block a user