aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-26 11:43:30 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-26 11:43:30 +0000
commit48930355d7d7c9cc7d64b0b623fe7ca6f743f6e8 (patch)
treea18e0ac61d3e64fd19a81f2352e72e3b3d3357e1 /package/base-files/files
parent57cfd357723054ad366e83efc3544f4c8c8448e5 (diff)
downloadupstream-48930355d7d7c9cc7d64b0b623fe7ca6f743f6e8.tar.gz
upstream-48930355d7d7c9cc7d64b0b623fe7ca6f743f6e8.tar.bz2
upstream-48930355d7d7c9cc7d64b0b623fe7ca6f743f6e8.zip
base-files: add a post start hook to the procd init.d api
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41344 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-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() {