X-Git-Url: http://gitweb/?a=blobdiff_plain;f=rc%2Frc.shutdown;h=63fbd431d51e2904c2012e2fbf417872e96bf14f;hb=b4aac807c89c4c3f254c2320ab5a0e7a1fea2c44;hp=790117e7f55568e64da9eb596c9f142a9fa1ba67;hpb=dec3d7f050ff612c75a3c915f5a6b6dc2ae50db9;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