X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=cacd5b99ff05d85b531505fa2854cc6f8c6452b7;hp=69075bf3ef2663dd41ea8b203151992a6a9d7af4;hb=a1526917cb7ba6e7cf8ae5334310123ba6d8fae6;hpb=5b491f6f56160505ea3d85d879772b203df9efb2 diff --git a/autoconfig.functions b/autoconfig.functions index 69075bf..cacd5b9 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1585,9 +1585,9 @@ else eindent # We do need the following fix so floppy disk is available to blkid in any case :-/ if [ -r /dev/fd0 ] ; then - einfo "Floppy device detected. Trying to access floppy disk." + einfo "Floppy device detected. Trying to access floppy disk (this might take a few seconds)." if timeout 4 dd if=/dev/fd0 of=/dev/null bs=512 count=1 >>$DEBUG 2>&1 ; then - blkid /dev/fd0 >>$DEBUG 2>&1 + timeout 4 blkid /dev/fd0 >>$DEBUG 2>&1 fi fi DCSDEVICE=$(blkid -t LABEL=$GRMLCFG | head -1 | awk -F: '{print $1}')