From: Nathan Wagner Date: Thu, 27 Mar 2014 04:47:51 +0000 (+0000) Subject: fix error in is_true test X-Git-Url: https://pd.if.org/git/?a=commitdiff_plain;ds=sidebyside;h=050cb10bd5f4f2460b17ba11f22c9fed0bdea56c;hp=d9f823e06902b93c9a708bf831128fe0f4d8d5a3;p=startuptools fix error in is_true test added -t nodevtmpfs to umount in rc.shutdown to avoid error in unmounting filesystems --- 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"