summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
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
commite84e3a5b038af13860c8db72c113593cb97929de (patch)
tree6c5977155a98014765e68d2503da11a49c5afc3d /package/base-files/files/etc
parentb63a7d1242f6b241da830223a3a8da59f4812414 (diff)
downloadmtk-20170518-e84e3a5b038af13860c8db72c113593cb97929de.zip
mtk-20170518-e84e3a5b038af13860c8db72c113593cb97929de.tar.gz
mtk-20170518-e84e3a5b038af13860c8db72c113593cb97929de.tar.bz2
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: 10245
Diffstat (limited to 'package/base-files/files/etc')
-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 99e2a5d..6b3c213 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() {