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
26 br2684ctl
-b -c "$unit" -e "$encaps" -p "$payload" -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"
30 insmod br2684
>/dev
/null
2>/dev
/null
32 config_foreach start_daemon atm-bridge