summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-29 03:58:17 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-29 03:58:17 +0000
commite0faab81aad968bcaa594f40c44e70bd2cc91a83 (patch)
treead39ae58abf06709186844febedb9e077f2f959f /package/base-files/files/etc
parente4c6bd13192fd179bd808d36bbbd3462a8b029e0 (diff)
[package] base-files: fix shell syntax (prevent error messages when activating initscripts in IB)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20571 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/rc.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index 2b7bf5a110..072f143549 100755
--- 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 "$@"