mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 09:26:15 +02:00
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-a3cf2f4a3e73
This commit is contained in:
parent
ca00145059
commit
3aa8ae94b0
@ -67,7 +67,7 @@ action="$2"
|
|||||||
|
|
||||||
cmds=
|
cmds=
|
||||||
for cmd in $EXTRA_COMMANDS; do
|
for cmd in $EXTRA_COMMANDS; do
|
||||||
cmds="$cmd) $cmd;;"
|
cmds="${cmds:+$cmds$N}$cmd) $cmd;;"
|
||||||
done
|
done
|
||||||
eval "case \"\$action\" in
|
eval "case \"\$action\" in
|
||||||
start) start;;
|
start) start;;
|
||||||
|
Loading…
Reference in New Issue
Block a user