aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-03 06:21:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-03 06:21:49 +0000
commitd288a7903dde9fadfeea3145647f950dfeadcfea (patch)
tree048f2eabfe6205a900cc927d73bdbaa907b96b2b /package/base-files/files/etc
parenteef5698535323ee7367eee1f647b105f121ff027 (diff)
downloadupstream-d288a7903dde9fadfeea3145647f950dfeadcfea.tar.gz
upstream-d288a7903dde9fadfeea3145647f950dfeadcfea.tar.bz2
upstream-d288a7903dde9fadfeea3145647f950dfeadcfea.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> SVN-Revision: 41490
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/rc.common2
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
}