From: Felix Fietkau Date: Thu, 3 Jul 2014 06:21:49 +0000 (+0000) Subject: rc.common: when reloading a service using procd, fall back to calling start instead... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d288a7903dde9fadfeea3145647f950dfeadcfea;p=openwrt%2Fstaging%2Fnbd.git 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 SVN-Revision: 41490 --- 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 }