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 829ec76bacff86ba363974c4114605ba6b861895..83ece4930f13c81c1ad93e613989593a3b19e3de 100755
(executable)
--- a/
package/base-files/files/etc/rc.common
+++ b/
package/base-files/files/etc/rc.common
@@
-109,11
+109,14
@@
${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() {
- procd_kill "$(basename ${basescript:-$initscript})" "$1"
stop_service "$@"
stop_service "$@"
+ procd_kill "$(basename ${basescript:-$initscript})" "$1"
}
reload() {
}
reload() {