From ffc4baa0596e9bef5a11302e2d25145b0e13453c Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 4 Oct 2015 15:28:13 +0200 Subject: [PATCH] improve is-boot-mounted check --- hashboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashboot b/hashboot index 375bcdf..622917d 100755 --- a/hashboot +++ b/hashboot @@ -73,7 +73,7 @@ then fi #If /boot is in fstab but not mounted: mount, mark as mounted -if grep -q '/boot.*noauto' /etc/fstab && ! grep -q /boot /etc/mtab +if grep -q '/boot' /etc/fstab && ! grep -q /boot /etc/mtab then mount /boot BOOT_MOUNTED=1