Skip to content

Commit

Permalink
update ESP sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrudolfoba authored May 31, 2024
1 parent 7cbca89 commit a30e960
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install-Clover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ else
fi

ESP=$(df /dev/nvme0n1p1 --output=avail | tail -n1)
if [ $ESP -ge 30000 ]
if [ $ESP -ge 15000 ]
then
echo ESP partition has $ESP KB free space.
echo ESP partition has enough free space.
Expand All @@ -57,6 +57,7 @@ then
else
echo ESP partition has $ESP KB free space.
echo Not enough space on the ESP partition!
echo -e "$current_password\n" | sudo -S du -hd2 /esp
echo -e "$current_password\n" | sudo -S umount ~/temp-ESP
rmdir ~/temp-ESP
exit
Expand Down

0 comments on commit a30e960

Please sign in to comment.