CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rc: updated to 2.28 and aligned with upstream
[crossrootfs.git] / rc / rc.shutdown
index 790117e7f55568e64da9eb596c9f142a9fa1ba67..63fbd431d51e2904c2012e2fbf417872e96bf14f 100755 (executable)
@@ -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