summaryrefslogtreecommitdiff
path: root/package/base-files
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
parenteef5698535323ee7367eee1f647b105f121ff027 (diff)
downloadmtk-20170518-d288a7903dde9fadfeea3145647f950dfeadcfea.zip
mtk-20170518-d288a7903dde9fadfeea3145647f950dfeadcfea.tar.gz
mtk-20170518-d288a7903dde9fadfeea3145647f950dfeadcfea.tar.bz2
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')
-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 83ece49..695fc16 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
}