X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fetc%2Frc.common;h=072f1435490717c46554aef5b7877ee589ebb72a;hb=b34bba25d2da994c3c6768023c76ce22a1e98703;hp=2b7bf5a110f10a3af938f084307e331e21f860cd;hpb=e10df8d2b5f0422eb49d856fc5064d7975c8e6f0;p=openwrt%2F.git 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 "$@"