base-files: add a post start hook to the procd init.d api
[openwrt/.git] / package / base-files / files / etc / rc.common
index 8701312e4c842d9a6067c8d40c1dd31750696be0..83ece4930f13c81c1ad93e613989593a3b19e3de 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() {