diff options
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/lfs/init.d/mountfs | 4 |
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 ;; *) |