mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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;;
|
||||||
|
|||||||
Reference in New Issue
Block a user