Author: nbd Date: 2014-07-03 08:21:49 +0200 (Thu, 03 Jul 2014) New Revision: 41490
Modified: trunk/package/base-files/files/etc/rc.common Log: 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]> Modified: trunk/package/base-files/files/etc/rc.common =================================================================== --- trunk/package/base-files/files/etc/rc.common 2014-07-02 22:27:32 UTC (rev 41489) +++ trunk/package/base-files/files/etc/rc.common 2014-07-03 06:21:49 UTC (rev 41490) @@ -123,7 +123,7 @@ if eval "type reload_service" 2>/dev/null >/dev/null; then reload_service "$@" else - restart + start fi } _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
