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 | d288a7903dde9fadfeea3145647f950dfeadcfea (patch) | |
tree | 048f2eabfe6205a900cc927d73bdbaa907b96b2b /package/base-files/files | |
parent | eef5698535323ee7367eee1f647b105f121ff027 (diff) | |
download | upstream-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')
-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 } |