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