3 [ "$DSL_NOTIFICATION_TYPE" = "DSL_STATUS" ] && \
4 [ "$DSL_TC_LAYER_STATUS" = "EFM" ] && \
5 ! grep -q "ltq_ptm_ar9\|ltq_ptm_ase\|ltq_ptm_danube" /proc
/modules ||
exit 0
7 logger
-p daemon.notice
-t "dsl-notify" "Switching to TC-Layer EFM/PTM"
9 if grep -q "ltq_atm_ar9\|ltq_atm_ase\|ltq_atm_danube" /proc
/modules
; then
10 logger
-p daemon.notice
-t "dsl-notify" "Loading EFM/PTM driver while ATM driver is loaded is not possible. Reboot is needed."
14 case "$(strings /proc/device-tree/compatible)" in
25 logger
-p daemon.notice
-t "dsl-notify" "Unsupported SoC"
29 modprobe ltq_ptm_
${soc}