diff options
author | Roy Marples <roy@marples.name> | 2007-08-15 14:49:41 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-15 14:49:41 +0000 |
commit | 3950eb6eba585492a9ca31d47d9a59a6e1789a5c (patch) | |
tree | 773523573cbad43ca473dae817222435890ca420 /sh.BSD | |
parent | 7d68200f2443fc37809698d612fe6278a8f18016 (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.BSD')
-rwxr-xr-x | sh.BSD/init.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sh.BSD/init.sh b/sh.BSD/init.sh index 3da44a33..1c115909 100755 --- a/sh.BSD/init.sh +++ b/sh.BSD/init.sh @@ -22,15 +22,15 @@ mount_svcdir() { try mdconfig -a -t malloc -s 1m -u 1 try newfs /dev/md1 try mount /dev/md1 "${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 mdconfig -a -t malloc -s "${RC_SVCSIZE:-1024}"k -u 0 try newfs -b 4096 -i 1024 -n /dev/md0 try mount -o rw,noexec,nosuid /dev/md0 "${RC_SVCDIR}" 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 "${RC_LIBDIR}"/tmp try mdconfig -d -u 1 fi |