Update boot.sh

This commit is contained in:
Kroese 2025-03-27 00:28:27 +01:00 committed by GitHub
parent be36019608
commit 4e3a84a748
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,4 +99,11 @@ else
esac
fi
SM_BIOS="/run/shm/bios.bin"
rm -f "$SM_BIOS"
if ! dmidecode --dump-bin "$SM_BIOS" >/dev/null; then
SM_BIOS=""
fi
return 0