projects
/
openwrt
/
staging
/
dangole.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9757288
)
base-files: add a post start hook to the procd init.d api
author
John Crispin
<john@openwrt.org>
Thu, 26 Jun 2014 11:43:30 +0000
(11:43 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 26 Jun 2014 11:43:30 +0000
(11:43 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41344
package/base-files/files/etc/rc.common
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/rc.common
b/package/base-files/files/etc/rc.common
index 8701312e4c842d9a6067c8d40c1dd31750696be0..83ece4930f13c81c1ad93e613989593a3b19e3de 100755
(executable)
--- 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() {