242e7e5152f3cf84bb89d246ba8b0f06c836a411
[openwrt.git] / package / linux-atm / files / br2684.init
1 [ "${INTERFACE%%[0-9]*}" = "atm" ] && {
2 case "$ACTION" in
3 register)
4 [ "$pppoe_atm" = 1 ] && {
5 case "$atm_encaps" in
6 0|vc) ENCAPS=0 ;;
7 1|llc) ENCAPS=1 ;;
8 *) ENCAPS=0 ;;
9 esac
10 insmod br2684 2>&- >&-
11 br2684ctl -c0 -e${ENCAPS} -a${atm_vpi:-8}.${atm_vci:-35} &
12 }
13 ;;
14 unregister)
15 killall br2684ctl 2>&- >&-
16 rmmod br2684
17 ;;
18 esac
19 }
This page took 0.042805 seconds and 3 git commands to generate.