Browse Source

base-files: fix shell syntax (prevent error messages when activating initscripts in IB)

SVN-Revision: 20571
Nicolas Thill 16 years ago
parent
commit
b34bba25d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/base-files/files/etc/rc.common

+ 1 - 1
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 "$@"