projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef5698
)
rc.common: when reloading a service using procd, fall back to calling start instead...
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jul 2014 06:21:49 +0000
(06:21 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jul 2014 06:21:49 +0000
(06:21 +0000)
This avoids unnecessary service restarts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41490
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 83ece4930f13c81c1ad93e613989593a3b19e3de..695fc166fbcd1af6432016511f63d723174a0504 100755
(executable)
--- a/
package/base-files/files/etc/rc.common
+++ b/
package/base-files/files/etc/rc.common
@@
-123,7
+123,7
@@
${INIT_TRACE:+set -x}
if eval "type reload_service" 2>/dev/null >/dev/null; then
reload_service "$@"
else
-
re
start
+ start
fi
}