From 0ac4083cef6df4d9ca79f3944241630150ec6e62 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 27 Mar 2025 00:42:26 +0100 Subject: [PATCH] Update boot.sh --- src/boot.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/boot.sh b/src/boot.sh index 741cf45..2ecf50a 100644 --- a/src/boot.sh +++ b/src/boot.sh @@ -99,11 +99,12 @@ else esac fi -SM_BIOS="/run/shm/bios.bin" -rm -f "$SM_BIOS" +SM_BIOS="" +BIOS_SERIAL=$(/dev/null; then - SM_BIOS="" +if [ -n "$BIOS_SERIAL" ]; then + SM_BIOS="-smbios type=1,serial=$BIOS_SERIAL" fi return 0