aboutsummaryrefslogtreecommitdiff
path: root/sh/gendepends.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-15 14:49:41 +0000
committerRoy Marples <roy@marples.name>2007-08-15 14:49:41 +0000
commit3950eb6eba585492a9ca31d47d9a59a6e1789a5c (patch)
tree773523573cbad43ca473dae817222435890ca420 /sh/gendepends.sh
parent7d68200f2443fc37809698d612fe6278a8f18016 (diff)
`config /etc/fstab' can now be used in depend() functions to show that
the deptree should be regenerated if /etc/fstab has changed.
Diffstat (limited to 'sh/gendepends.sh')
-rwxr-xr-xsh/gendepends.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/gendepends.sh b/sh/gendepends.sh
index c40a80e7..d970fa5d 100755
--- a/sh/gendepends.sh
+++ b/sh/gendepends.sh
@@ -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}