projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63a7d1
)
missing optional parameters for restart and boot functions
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 25 Jan 2008 10:59:40 +0000
(10:59 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 25 Jan 2008 10:59:40 +0000
(10:59 +0000)
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
package/base-files/files/etc/rc.common
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/rc.common
b/package/base-files/files/etc/rc.common
index 99e2a5db62da17844e560fce365a850f0b64f7b5..6b3c213a1d81a38b34cbfc2a50b8002e7e182b3c 100755
(executable)
--- 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() {