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.Linux/init.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sh.Linux') diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh index a5490d9b..48ddf548 100755 --- a/sh.Linux/init.sh +++ b/sh.Linux/init.sh @@ -65,13 +65,13 @@ mount_svcdir() { if [ -e "${RC_SVCDIR}"/deptree ] ; then dotmp=true try mount -n -t "${fs}" -o rw "${devtmp}" "${RC_LIBDIR}"/tmp - cp -p "${RC_SVCDIR}"/deptree "${RC_SVCDIR}"/nettree \ - "${RC_LIBDIR}"/tmp 2>/dev/null + cp -p "${RC_SVCDIR}"/deptree "${RC_SVCDIR}"/depconfig \ + "${RC_SVCDIR}"/nettree "${RC_LIBDIR}"/tmp 2>/dev/null fi try mount -n ${mntcmd} if ${dotmp} ; then - cp -p "${RC_LIBDIR}"/tmp/deptree "${RC_LIBDIR}"/tmp/nettree \ - "${RC_SVCDIR}" 2>/dev/null + cp -p "${RC_LIBDIR}"/tmp/deptree "${RC_LIBDIR}"/tmp/depconfig \ + "${RC_LIBDIR}"/tmp/nettree "${RC_SVCDIR}" 2>/dev/null try umount -n "${RC_LIBDIR}"/tmp fi } -- cgit v1.2.3