ltq-app-vdsl: convert init script to procd, add support for switching between atm and ptm
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47485v19.07.3_mercusys_ac12_duma
parent
f8692a4b88
commit
96a66d683b
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
for mod in $UNLOAD; do
|
||||
grep -q "$mod " /proc/modules && rmmod "$mod"
|
||||
done
|
||||
for mod in $LOAD; do
|
||||
grep -q "$mod " /proc/modules || insmod "$mod"
|
||||
done
|
||||
|
||||
exec /sbin/vdsl_cpe_control "$@"
|
Loading…
Reference in New Issue