diff --git a/pika-live-booster-hooks/usr/share/booster/hooks-early/01_pika_live.sh b/pika-live-booster-hooks/usr/share/booster/hooks-early/01_pika_live.sh index ee73e51..8c7b89d 100755 --- a/pika-live-booster-hooks/usr/share/booster/hooks-early/01_pika_live.sh +++ b/pika-live-booster-hooks/usr/share/booster/hooks-early/01_pika_live.sh @@ -64,7 +64,7 @@ then busybox echo '[PikaOS Booster Live Hook]: Attempting Ventoy mapping hook.' fi # Get Ventoy ISO Partition ID - VENTOY_DEVICE="$(busybox blkid | busybox grep "Ventoy" | busybox head -n1 | busybox awk -F: '{print $1}')" + VENTOY_DEVICE="$(busybox blkid | busybox grep -i "Ventoy" | busybox head -n1 | busybox awk -F: '{print $1}')" # Keep retrying 10 times incase usb_storage has yet to pick up while [ -z "$VENTOY_DEVICE" ] do @@ -72,7 +72,7 @@ then then busybox echo '[PikaOS Booster Live Hook]: Ventoy Device could not found retrying...' fi - VENTOY_DEVICE="$(busybox blkid | busybox grep "Ventoy" | busybox head -n1 | busybox awk -F: '{print $1}')" + VENTOY_DEVICE="$(busybox blkid | busybox grep -i "Ventoy" | busybox head -n1 | busybox awk -F: '{print $1}')" ((c++)) && ((c==10)) && break busybox sleep 5 done