summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-26 11:43:30 +0000
committerJohn Crispin <john@openwrt.org>2014-06-26 11:43:30 +0000
commit3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9 (patch)
treefa80136212217c7351e0b5a40b075ba97103cf29 /package
parent975728813aa1e664d0bfbef49fdfc52a710783a4 (diff)
downloadmtk-20170518-3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9.zip
mtk-20170518-3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9.tar.gz
mtk-20170518-3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9.tar.bz2
base-files: add a post start hook to the procd init.d api
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41344
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/rc.common3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index 8701312..83ece49 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() {