From 3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 26 Jun 2014 11:43:30 +0000 Subject: [PATCH] base-files: add a post start hook to the procd init.d api Signed-off-by: John Crispin SVN-Revision: 41344 --- package/base-files/files/etc/rc.common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 8701312e4c..83ece4930f 100755 --- a/package/base-files/files/etc/rc.common +++ b/package/base-files/files/etc/rc.common @@ -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() { -- 2.30.2