From 0342049ffb4a8ea1f1816d62a50e5aab013e4b45 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 24 Mar 2025 12:02:10 +0100 Subject: [PATCH] Update boot.sh --- src/boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.sh b/src/boot.sh index 09634aa..57fdfe3 100644 --- a/src/boot.sh +++ b/src/boot.sh @@ -88,7 +88,7 @@ if [ ! -f "$CLOCK" ]; then warn "file \"$CLOCK\" cannot not found?" else result=$(<"$CLOCK") - case "${result,,}" in + case "${result//[^[:alpha:]_- ]/}" in "${CLOCKSOURCE,,}" ) ;; "kvm-clock" ) info "Nested KVM virtualization detected.." ;; "hyperv_clocksource_tsc_page" ) info "Nested Hyper-V virtualization detected.." ;;