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 83ece49..695fc16 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
        }