From d288a7903dde9fadfeea3145647f950dfeadcfea Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Jul 2014 06:21:49 +0000 Subject: [PATCH] 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 --- package/base-files/files/etc/rc.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 83ece4930f1..695fc166fbc 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 } -- 2.30.2