X-Git-Url: http://gitweb/?a=blobdiff_plain;f=rc%2Frc.shutdown;h=790117e7f55568e64da9eb596c9f142a9fa1ba67;hb=b050731a9f1ead0f9767096757ef521efaac6760;hp=4888a8e0872d0a955e3bd66a8ec85427a3168cc0;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;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