Browse Source

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) <[email protected]>

SVN-Revision: 10245
Felix Fietkau 18 years ago
parent
commit
e84e3a5b03
1 changed files with 3 additions and 3 deletions
  1. 3 3
      package/base-files/files/etc/rc.common

+ 3 - 3
package/base-files/files/etc/rc.common

@@ -17,12 +17,12 @@ reload() {
 
 restart() {
 	trap '' TERM
-	stop
-	start
+	stop "$@"
+	start "$@"
 }
 
 boot() {
-	start
+	start "$@"
 }
 
 shutdown() {