summaryrefslogtreecommitdiff
path: root/sh.Linux
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.Linux
parent7d68200f2443fc37809698d612fe6278a8f18016 (diff)
downloadopenrc-3950eb6eba585492a9ca31d47d9a59a6e1789a5c.tar.gz
openrc-3950eb6eba585492a9ca31d47d9a59a6e1789a5c.tar.bz2
openrc-3950eb6eba585492a9ca31d47d9a59a6e1789a5c.tar.xz
`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.Linux')
-rwxr-xr-xsh.Linux/init.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh
index a5490d9..48ddf54 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
}