X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=scripts%2Frc.shutdown;fp=scripts%2Frc.shutdown;h=18915e1c0811ffbbe257fc0d186a1532412a20ef;hp=83b9d52b81186ec40121d5d531bb895ecd112783;hb=050cb10bd5f4f2460b17ba11f22c9fed0bdea56c;hpb=d9f823e06902b93c9a708bf831128fe0f4d8d5a3 diff --git a/scripts/rc.shutdown b/scripts/rc.shutdown index 83b9d52..18915e1 100644 --- a/scripts/rc.shutdown +++ b/scripts/rc.shutdown @@ -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"