mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-26 06:09:37 +00:00
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> SVN-Revision: 41490
This commit is contained in:
parent
eef5698535
commit
d288a7903d
@ -123,7 +123,7 @@ ${INIT_TRACE:+set -x}
|
|||||||
if eval "type reload_service" 2>/dev/null >/dev/null; then
|
if eval "type reload_service" 2>/dev/null >/dev/null; then
|
||||||
reload_service "$@"
|
reload_service "$@"
|
||||||
else
|
else
|
||||||
restart
|
start
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user