CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated mandir
[crossrootfs.git] / rc / rc.shutdown
index 4888a8e0872d0a955e3bd66a8ec85427a3168cc0..63fbd431d51e2904c2012e2fbf417872e96bf14f 100755 (executable)
@@ -43,10 +43,14 @@ fi
 /sbin/swapoff -a
 
 # Unmount file systems
+/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