Explorar o código

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 <[email protected]>

SVN-Revision: 41490
Felix Fietkau %!s(int64=11) %!d(string=hai) anos
pai
achega
d288a7903d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/base-files/files/etc/rc.common

+ 1 - 1
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
 	}