mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 00:44:05 +02:00
[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
This commit is contained in:
parent
e4c6bd1319
commit
e0faab81aa
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user