X-Git-Url: http://gitweb/?a=blobdiff_plain;f=rc%2Frc.shutdown;h=63fbd431d51e2904c2012e2fbf417872e96bf14f;hb=4dd869461efa9dd95f06756f8f99fd53631313f8;hp=790117e7f55568e64da9eb596c9f142a9fa1ba67;hpb=9bc31e7797f8dbf8877a8617c31358ed1d54b88d;p=crossrootfs.git diff --git a/rc/rc.shutdown b/rc/rc.shutdown index 790117e..63fbd43 100755 --- a/rc/rc.shutdown +++ b/rc/rc.shutdown @@ -43,14 +43,14 @@ fi /sbin/swapoff -a # Unmount file systems -/bin/umount -a -r -t nosysfs,noproc +/bin/umount -a -d -r -t nosysfs,noproc,nodevtmpfs if [ -x /sbin/lvm ]; then /sbin/vgchange --ignorelockingfailure -a n fi /bin/umount -a -r # Remount root filesystem read-only -/bin/mount -n -o remount,ro / +/bin/mount -o remount,ro / # Power off or reboot if [ "$RUNLEVEL" = "0" ]; then