[package] base-files: fix shell syntax (prevent error messages when activating initsc...
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 29 Mar 2010 03:58:17 +0000 (03:58 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 29 Mar 2010 03:58:17 +0000 (03:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20571 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/rc.common

index 2b7bf5a..072f143 100755 (executable)
@@ -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 "$@"
This page took 0.022669 seconds and 4 git commands to generate.