base-files: add a post start hook to the procd init.d api
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 26 Jun 2014 11:43:30 +0000 (11:43 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 26 Jun 2014 11:43:30 +0000 (11:43 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41344 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/rc.common

index 8701312..83ece49 100755 (executable)
@@ -109,6 +109,9 @@ ${INIT_TRACE:+set -x}
 
        start() {
                rc_procd start_service "$@"
+               if eval "type service_started" 2>/dev/null >/dev/null; then
+                       service_started
+               fi
        }
 
        stop() {