projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e10df8d
)
base-files: fix shell syntax (prevent error messages when activating initscripts...
author
Nicolas Thill
<nico@openwrt.org>
Mon, 29 Mar 2010 03:58:17 +0000
(
03:58
+0000)
committer
Nicolas Thill
<nico@openwrt.org>
Mon, 29 Mar 2010 03:58:17 +0000
(
03:58
+0000)
SVN-Revision: 20571
package/base-files/files/etc/rc.common
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/rc.common
b/package/base-files/files/etc/rc.common
index 2b7bf5a110f10a3af938f084307e331e21f860cd..072f1435490717c46554aef5b7877ee589ebb72a 100755
(executable)
--- a/
package/base-files/files/etc/rc.common
+++ b/
package/base-files/files/etc/rc.common
@@
-74,5
+74,5
@@
EOF
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
list_contains ALL_COMMANDS "$action" || action=help
-[ "$action" =
= reload
] && action='eval reload "$@" || restart "$@" && :'
+[ "$action" =
"reload"
] && action='eval reload "$@" || restart "$@" && :'
$action "$@"