fix for multiple extra commands in init scripts using rc.common
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5488 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
cccde267b4
commit
dbdbdbbeb3
|
@ -67,7 +67,7 @@ action="$2"
|
|||
|
||||
cmds=
|
||||
for cmd in $EXTRA_COMMANDS; do
|
||||
cmds="$cmd) $cmd;;"
|
||||
cmds="${cmds:+$cmds$N}$cmd) $cmd;;"
|
||||
done
|
||||
eval "case \"\$action\" in
|
||||
start) start;;
|
||||
|
|
Loading…
Reference in New Issue