Update boot.sh
This commit is contained in:
parent
094672ec59
commit
c6c8d648d9
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ fi
|
||||||
SM_BIOS=""
|
SM_BIOS=""
|
||||||
PS="/sys/class/dmi/id/product_serial"
|
PS="/sys/class/dmi/id/product_serial"
|
||||||
|
|
||||||
if [ -s "$PS"] && [ -r "$PS" ]; then
|
if [ -s "$PS" ] && [ -r "$PS" ]; then
|
||||||
|
|
||||||
BIOS_SERIAL=$(<"$PS")
|
BIOS_SERIAL=$(<"$PS")
|
||||||
BIOS_SERIAL="${BIOS_SERIAL//[![:alnum:]]/}"
|
BIOS_SERIAL="${BIOS_SERIAL//[![:alnum:]]/}"
|
||||||
|
|
Loading…
Reference in a new issue