Update boot.sh

This commit is contained in:
Kroese 2025-03-28 20:12:29 +01:00 committed by GitHub
parent 094672ec59
commit c6c8d648d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ fi
SM_BIOS=""
PS="/sys/class/dmi/id/product_serial"
if [ -s "$PS"] && [ -r "$PS" ]; then
if [ -s "$PS" ] && [ -r "$PS" ]; then
BIOS_SERIAL=$(<"$PS")
BIOS_SERIAL="${BIOS_SERIAL//[![:alnum:]]/}"