projects
/
openwrt
/
staging
/
mans0n.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b306cc4
)
Allow UCI configuration of ATM QOS parameters per interface, signed off by Ithamar...
author
John Crispin
<john@openwrt.org>
Thu, 18 Mar 2010 11:17:42 +0000
(11:17 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 18 Mar 2010 11:17:42 +0000
(11:17 +0000)
SVN-Revision: 20266
package/br2684ctl/files/br2684ctl
patch
|
blob
|
history
diff --git
a/package/br2684ctl/files/br2684ctl
b/package/br2684ctl/files/br2684ctl
index 739baabdd064d5f64c9c0487fafa87fe96703f4c..cff667014aab58d25fddfe55bcd1a8b9597cbe88 100755
(executable)
--- a/
package/br2684ctl/files/br2684ctl
+++ b/
package/br2684ctl/files/br2684ctl
@@
-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() {