aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-02-20 02:08:13 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-02-20 02:08:13 +0000
commitf158011e9c3c9e2667eeacbc1e51feb02927d8b1 (patch)
tree4b046b4e9888c56423991825e15e3ae5c5c49c78 /bootscripts
parent496c88718175b7435d1b7c212041b5fff7280f9b (diff)
Add sed to the m4 package to fix a false test failure.
Update mountfs script to support LVM volumes when stopping. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9748 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/init.d/mountfs4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootscripts/lfs/init.d/mountfs b/bootscripts/lfs/init.d/mountfs
index 74e87baff..40a69eefa 100644
--- a/bootscripts/lfs/init.d/mountfs
+++ b/bootscripts/lfs/init.d/mountfs
@@ -64,7 +64,9 @@ case "${1}" in
log_info_msg "Unmounting all other currently mounted file systems..."
umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs >/dev/null
evaluate_retval
- exit 0
+
+ # Make all LVM volume groups unavailable, if appropriate
+ if [ -x /sbin/vgchange ]; then /sbin/vgchange -an; fi
;;
*)