projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ltq-vdsl-app: remove whitespace after -i, it prevents vdsl_cpe_control from parsing...
[librecmc/librecmc.git]
/
package
/
network
/
config
/
ltq-vdsl-app
/
files
/
vdsl_cpe_control_wrapper
1
#!/bin/sh
2
3
for mod in $UNLOAD; do
4
grep -q "$mod " /proc/modules && rmmod "$mod"
5
done
6
for mod in $LOAD; do
7
grep -q "$mod " /proc/modules || insmod "$mod"
8
done
9
10
esi $(printf '%012X' $((1+0x$(tr -d : </sys/class/net/eth0/address))))
11
exec /sbin/vdsl_cpe_control "$@"