ltq-xdsl-app: drop manual br2684ctl reload
[openwrt/openwrt.git] / package / network / config / ltq-vdsl-app / files / 10_atm.sh
1 #!/bin/sh
2
3 [ "$DSL_NOTIFICATION_TYPE" = "DSL_STATUS" ] && \
4 [ "$DSL_TC_LAYER_STATUS" = "ATM" ] && \
5 ! grep -q "ltq_atm_vr9" /proc/modules || exit 0
6
7 logger -p daemon.notice -t "dsl-notify" "Switching to TC-Layer ATM"
8
9 if grep -q "ltq_ptm_vr9" /proc/modules ; then
10 logger -p daemon.notice -t "dsl-notify" "Loading ATM driver while EFM/PTM driver is loaded is not possible. Reboot is needed."
11 exit
12 fi
13
14 modprobe ltq_atm_vr9