mirror of https://schlomp.space/tastytea/hashboot
improve is-boot-mounted check
parent
e76e7b5c3e
commit
ffc4baa059
2
hashboot
2
hashboot
|
@ -73,7 +73,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#If /boot is in fstab but not mounted: mount, mark as mounted
|
#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
|
then
|
||||||
mount /boot
|
mount /boot
|
||||||
BOOT_MOUNTED=1
|
BOOT_MOUNTED=1
|
||||||
|
|
Loading…
Reference in New Issue