rc.common: when reloading a service using procd, fall back to calling start instead...
authorFelix Fietkau <nbd@openwrt.org>
Thu, 3 Jul 2014 06:21:49 +0000 (06:21 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Jul 2014 06:21:49 +0000 (06:21 +0000)
This avoids unnecessary service restarts

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41490

package/base-files/files/etc/rc.common

index 83ece4930f13c81c1ad93e613989593a3b19e3de..695fc166fbcd1af6432016511f63d723174a0504 100755 (executable)
@@ -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
        }