From: nbd 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://207.154.207.93/?a=commitdiff_plain;h=546713e22c438b88421b1270a13a59ca9fbfe140;p=openwrt.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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41490 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 }