mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
fix for multiple extra commands in init scripts using rc.common
SVN-Revision: 5488
This commit is contained in:
parent
7ea7acad21
commit
1dc538c39a
@ -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