improve is-boot-mounted check

This commit is contained in:
tastytea 2015-10-04 15:28:13 +02:00
parent e76e7b5c3e
commit ffc4baa059
1 changed files with 1 additions and 1 deletions

View File

@ -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