projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ea7aca
)
fix for multiple extra commands in init scripts using rc.common
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 9 Nov 2006 21:43:04 +0000
(21:43 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 9 Nov 2006 21:43:04 +0000
(21:43 +0000)
SVN-Revision: 5488
package/base-files/default/etc/rc.common
patch
|
blob
|
history
diff --git
a/package/base-files/default/etc/rc.common
b/package/base-files/default/etc/rc.common
index 6066afbd5519c0a1a2bc693589e8427eea654183..7180b0f7fa9188c05a94d33881c0668060b89a6d 100755
(executable)
--- a/
package/base-files/default/etc/rc.common
+++ b/
package/base-files/default/etc/rc.common
@@
-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;;