From 3950eb6eba585492a9ca31d47d9a59a6e1789a5c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 15 Aug 2007 14:49:41 +0000 Subject: `config /etc/fstab' can now be used in depend() functions to show that the deptree should be regenerated if /etc/fstab has changed. --- sh/gendepends.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sh/gendepends.sh') 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} -- cgit v1.2.3