X-Git-Url: http://gitweb/?a=blobdiff_plain;f=rc%2Frc.shutdown;h=790117e7f55568e64da9eb596c9f142a9fa1ba67;hb=dec3d7f050ff612c75a3c915f5a6b6dc2ae50db9;hp=4888a8e0872d0a955e3bd66a8ec85427a3168cc0;hpb=499f82636924ea07b378b568f701088181a76e1f;p=crossrootfs.git diff --git a/rc/rc.shutdown b/rc/rc.shutdown index 4888a8e..790117e 100755 --- a/rc/rc.shutdown +++ b/rc/rc.shutdown @@ -43,6 +43,10 @@ fi /sbin/swapoff -a # Unmount file systems +/bin/umount -a -r -t nosysfs,noproc +if [ -x /sbin/lvm ]; then + /sbin/vgchange --ignorelockingfailure -a n +fi /bin/umount -a -r # Remount root filesystem read-only