]> pd.if.org Git - startuptools/blobdiff - scripts/rc.shutdown
fix error in is_true test
[startuptools] / scripts / rc.shutdown
index 83b9d52b81186ec40121d5d531bb895ecd112783..18915e1c0811ffbbe257fc0d186a1532412a20ef 100644 (file)
@@ -55,7 +55,7 @@ done
 # write to wtmp
 halt -w
 
-if [ is_true "$USELVM" ] && [ -x /sbin/vgchange ]; then
+if is_true "$USELVM" && [ -x /sbin/vgchange ]; then
        status_begin "Deactivating monitoring of LVM2 groups"
                /sbin/vgchange --monitor n
        status_check
@@ -78,7 +78,7 @@ swapoff -a
 status_check
 
 status_begin "Unmounting non-API filesystems"
-umount -a
+umount -a -t nodevtmpfs
 status_check
 
 status_begin "Remounting root filesystem read-only"