fix for multiple extra commands in init scripts using rc.common

SVN-Revision: 5488
This commit is contained in:
Felix Fietkau 2006-11-09 21:43:04 +00:00
parent 7ea7acad21
commit 1dc538c39a

View File

@ -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;;