summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-03-29 03:58:17 +0000
committerNicolas Thill <nico@openwrt.org>2010-03-29 03:58:17 +0000
commitb34bba25d2da994c3c6768023c76ce22a1e98703 (patch)
tree2a737fdbac8c62677496dabaecc144a26ea7af8b /package/base-files
parente10df8d2b5f0422eb49d856fc5064d7975c8e6f0 (diff)
downloadmtk-20170518-b34bba25d2da994c3c6768023c76ce22a1e98703.zip
mtk-20170518-b34bba25d2da994c3c6768023c76ce22a1e98703.tar.gz
mtk-20170518-b34bba25d2da994c3c6768023c76ce22a1e98703.tar.bz2
base-files: fix shell syntax (prevent error messages when activating initscripts in IB)
SVN-Revision: 20571
Diffstat (limited to 'package/base-files')
-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 2b7bf5a..072f143 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 "$@"