X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/d551fc2e3ca74e4678c744f86c1e8f5e191f624b..d5b829f8e8c8367b032b4bb57a8fc37701d42e17:/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh diff --git a/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh b/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh index 7609829..62e413b 100644 --- a/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh +++ b/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh @@ -226,7 +226,7 @@ wait_for_ventoy_dm_disk_label() { if ls -l /dev/disk/by-label/ | $GREP -q "$DM"; then break else - $SLEEP 0.3 + $SLEEP 1 fi done } @@ -395,7 +395,7 @@ ventoy_udev_disk_common_hook() { else vtlog "==== create ventoy device mapper failed ====" - $SLEEP 5 + $SLEEP 3 if $GREP -q "/dev/$VTDISK" /proc/mounts; then $GREP "/dev/$VTDISK" /proc/mounts | while read vtLine; do