mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 14:21:06 +02:00
missing optional parameters for restart and boot functions
Add missing optional parameters in remaining rc functions. It fixes my previous implementation of parametrized rc functions [8106], ticket #3063, thanks argovela-at-yahoo-com for reporting. Signed-off-by: Lubos Stanek (lubek) <lubek@lubek.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10245 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
68e23ccf7b
commit
f90cb20b9a
@ -17,12 +17,12 @@ reload() {
|
|||||||
|
|
||||||
restart() {
|
restart() {
|
||||||
trap '' TERM
|
trap '' TERM
|
||||||
stop
|
stop "$@"
|
||||||
start
|
start "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
boot() {
|
boot() {
|
||||||
start
|
start "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
shutdown() {
|
shutdown() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user