aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
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/base-files/files/etc
parent975728813aa1e664d0bfbef49fdfc52a710783a4 (diff)
downloadupstream-3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9.tar.gz
upstream-3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9.tar.bz2
upstream-3a9bfa5938ab4d98a7c7ee10fca4b25101bbc0f9.zip
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/base-files/files/etc')
-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 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() {