mirror of https://github.com/hak5/openwrt.git
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> SVN-Revision: 10245lede-17.01
parent
b63a7d1242
commit
e84e3a5b03
|
@ -17,12 +17,12 @@ reload() {
|
||||||
|
|
||||||
restart() {
|
restart() {
|
||||||
trap '' TERM
|
trap '' TERM
|
||||||
stop
|
stop "$@"
|
||||||
start
|
start "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
boot() {
|
boot() {
|
||||||
start
|
start "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
shutdown() {
|
shutdown() {
|
||||||
|
|
Loading…
Reference in New Issue