diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-07-03 06:21:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-07-03 06:21:49 +0000 |
commit | 3c5ac3fecb39d89f61ce834d378d48a0573cc50e (patch) | |
tree | 41f91dee3df1876632c843b833e81e85ec04c914 /package/base-files/files/etc/rc.common | |
parent | 1e1faa2ebefb529f8a169f464df96b78ac8bda55 (diff) | |
download | upstream-3c5ac3fecb39d89f61ce834d378d48a0573cc50e.tar.gz upstream-3c5ac3fecb39d89f61ce834d378d48a0573cc50e.tar.bz2 upstream-3c5ac3fecb39d89f61ce834d378d48a0573cc50e.zip |
rc.common: when reloading a service using procd, fall back to calling start instead of restart
This avoids unnecessary service restarts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41490 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/rc.common')
-rwxr-xr-x | package/base-files/files/etc/rc.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 83ece4930f..695fc166fb 100755 --- 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 - restart + start fi } |