summaryrefslogtreecommitdiffstats
path: root/package/linux-atm/files/br2684ctl
diff options
context:
space:
mode:
Diffstat (limited to 'package/linux-atm/files/br2684ctl')
-rwxr-xr-xpackage/linux-atm/files/br2684ctl5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/linux-atm/files/br2684ctl b/package/linux-atm/files/br2684ctl
index 929e2b887..0c6fa9575 100755
--- a/package/linux-atm/files/br2684ctl
+++ b/package/linux-atm/files/br2684ctl
@@ -35,12 +35,15 @@ start_daemon() {
local qos
config_get qos "$cfg" qos
+ local sendsize
+ config_get sendsize "$cfg" sendsize
+
local circuit="$atmdev.$vpi.$vci"
local pid="/var/run/br2684ctl-$circuit.pid"
start-stop-daemon -S -b -x /usr/sbin/br2684ctl -m -p "$pid" -- \
-c "$unit" -e "$encaps" -p "$payload" \
- -a "$circuit" ${qos:+-q "$qos"}
+ -a "$circuit" ${qos:+-q "$qos"} ${sendsize:+-s "$sendsize"}
}
start() {