`config /etc/fstab' can now be used in depend() functions to show that

the deptree should be regenerated if /etc/fstab has changed.
This commit is contained in:
Roy Marples
2007-08-15 14:49:41 +00:00
parent 7d68200f24
commit 3950eb6eba
9 changed files with 96 additions and 41 deletions

View File

@ -5,6 +5,9 @@
. /etc/init.d/functions.sh
config() {
[ -n "$*" ] && echo "${SVCNAME} config $*" >&3
}
need() {
[ -n "$*" ] && echo "${SVCNAME} ineed $*" >&3
}
@ -49,6 +52,7 @@ for SVCNAME in * ; do
depend
# Add any user defined depends
config ${RC_CONFIG}
need ${RC_NEED}
use ${RC_USE}
before ${RC_BEFORE}