missing optional parameters for restart and boot functions
[openwrt.git] / package / base-files / files / etc / rc.common
index 99e2a5d..6b3c213 100755 (executable)
@@ -17,12 +17,12 @@ reload() {
 
 restart() {
        trap '' TERM
-       stop
-       start
+       stop "$@"
+       start "$@"
 }
 
 boot() {
-       start
+       start "$@"
 }
 
 shutdown() {