base-files: add a post start hook to the procd init.d api
[openwrt.git] / 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() {