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 <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41490 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2014-07-03 06:21:49 +00:00
parent 1e1faa2ebe
commit 3c5ac3fecb

View File

@@ -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
}