From: Nicolas Thill Date: Mon, 29 Mar 2010 03:58:17 +0000 (+0000) Subject: base-files: fix shell syntax (prevent error messages when activating initscripts... X-Git-Tag: reboot~20391 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b34bba25d2da994c3c6768023c76ce22a1e98703;p=openwrt%2Fstaging%2Fblogic.git base-files: fix shell syntax (prevent error messages when activating initscripts in IB) SVN-Revision: 20571 --- diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 2b7bf5a110f1..072f14354907 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 "$@"