Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrudolfoba authored Feb 20, 2023
1 parent a1ad26e commit 698ae9b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions experimental-install-Clover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,17 @@ echo Clover Experimental Version > \$CloverStatus
date >> \$CloverStatus
echo BIOS Version : \$(sudo dmidecode -s bios-version) >> \$CloverStatus
# check for dump files
dumpfiles=\$(ls -l /sys/firmware/efi/efivars/dump-type* 2> /dev/null | wc -l)
if [ \$dumpfiles -gt 0 ]
then
echo dump files exists. performing cleanup. >> \$CloverStatus
sudo rm -f /sys/firmware/efi/efivars/dump-type*
else
echo no dump files. no action needed. >> \$CloverStatus
fi
# Sanity Check - are the needed EFI entries available?
efibootmgr | grep -i Clover &> /dev/null
Expand Down
11 changes: 11 additions & 0 deletions install-Clover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,17 @@ date > ~/1Clover-tools/status.txt
echo BIOS Version : \$(sudo dmidecode -s bios-version) >> ~/1Clover-tools/status.txt
# check for dump files
dumpfiles=\$(ls -l /sys/firmware/efi/efivars/dump-type* 2> /dev/null | wc -l)
if [ \$dumpfiles -gt 0 ]
then
echo dump files exists. performing cleanup. >> \$CloverStatus
sudo rm -f /sys/firmware/efi/efivars/dump-type*
else
echo no dump files. no action needed. >> \$CloverStatus
fi
# Sanity Check - are the needed EFI entries available?
efibootmgr | grep -i Clover &> /dev/null
Expand Down

0 comments on commit 698ae9b

Please sign in to comment.