Author: blogic
Date: 2014-06-26 13:43:30 +0200 (Thu, 26 Jun 2014)
New Revision: 41344

Modified:
   trunk/package/base-files/files/etc/rc.common
Log:
base-files: add a post start hook to the procd init.d api

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/package/base-files/files/etc/rc.common
===================================================================
--- trunk/package/base-files/files/etc/rc.common        2014-06-26 11:43:26 UTC 
(rev 41343)
+++ trunk/package/base-files/files/etc/rc.common        2014-06-26 11:43:30 UTC 
(rev 41344)
@@ -109,6 +109,9 @@
 
        start() {
                rc_procd start_service "$@"
+               if eval "type service_started" 2>/dev/null >/dev/null; then
+                       service_started
+               fi
        }
 
        stop() {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to