projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base-files: add a post start hook to the procd init.d api
[librecmc/librecmc.git]
/
package
/
base-files
/
files
/
etc
/
rc.common
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 "$@"
start() {
rc_procd start_service "$@"
+ if eval "type service_started" 2>/dev/null >/dev/null; then
+ service_started
+ fi
}
stop() {
}
stop() {