1 #!/bin/sh /etc/rc.common
5 killall br2684ctl
2>/dev
/null
>/dev
/null
12 config_get atmdev
"$cfg" atmdev
13 config_get unit
"$cfg" unit
14 config_get vpi
"$cfg" vpi
15 config_get vci
"$cfg" vci
16 config_get encaps
"$cfg" encaps
17 config_get payload
"$cfg" payload
18 config_get qos
"$cfg" qos
27 [ "$qos" ] && qos
="-q $qos"
28 br2684ctl
-b -c "$unit" -e "$encaps" -p "$payload" $qos -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"
32 insmod br2684
>/dev
/null
2>/dev
/null
34 config_foreach start_daemon atm-bridge