aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-25 10:59:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-25 10:59:40 +0000
commitb55cfb9507ad3fe1ec09656a59cd6a54e7c4db82 (patch)
tree7194faae66b0628eedf699ff8e8e56828abfe491
parent7e243160bfbeb82ced7a72da49d27ce5ee469012 (diff)
downloadupstream-b55cfb9507ad3fe1ec09656a59cd6a54e7c4db82.tar.gz
upstream-b55cfb9507ad3fe1ec09656a59cd6a54e7c4db82.tar.bz2
upstream-b55cfb9507ad3fe1ec09656a59cd6a54e7c4db82.zip
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
-rwxr-xr-xpackage/base-files/files/etc/rc.common6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index 99e2a5db62..6b3c213a1d 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -17,12 +17,12 @@ reload() {
restart() {
trap '' TERM
- stop
- start
+ stop "$@"
+ start "$@"
}
boot() {
- start
+ start "$@"
}
shutdown() {