From: Felix Fietkau Date: Fri, 25 Jan 2008 10:59:40 +0000 (+0000) Subject: missing optional parameters for restart and boot functions X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=e33fbf385f04d11fce0a05ce98eab41b5ba257d4;hp=7ee95b4cec13a5098c53bc804b91fb4e6a807d26;p=openwrt%2Fsvn-archive%2Farchive.git 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) SVN-Revision: 10245 --- 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() {