]> pd.if.org Git - startuptools/commitdiff
fix error in is_true test
authorNathan Wagner <nw@hydaspes.if.org>
Thu, 27 Mar 2014 04:47:51 +0000 (04:47 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Thu, 27 Mar 2014 04:47:51 +0000 (04:47 +0000)
added -t nodevtmpfs to umount in rc.shutdown to avoid error
in unmounting filesystems

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"