Make mksyshdr safe for 64bits platforms (#1504)
[openwrt.git] / package / linux-atm / files / br2684.hotplug
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.057185 seconds and 5 git commands to generate.