diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-03-29 03:58:17 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-03-29 03:58:17 +0000 |
commit | e64ffa5d4f8ca769389ff17d3a49050961fba2bd (patch) | |
tree | ad39ae58abf06709186844febedb9e077f2f959f /package/base-files/files | |
parent | a2ec87dfec95123a2d8f7466664aaca262a5e4c6 (diff) | |
download | upstream-e64ffa5d4f8ca769389ff17d3a49050961fba2bd.tar.gz upstream-e64ffa5d4f8ca769389ff17d3a49050961fba2bd.tar.bz2 upstream-e64ffa5d4f8ca769389ff17d3a49050961fba2bd.zip |
[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')
-rwxr-xr-x | package/base-files/files/etc/rc.common | 2 |
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 "$@" |