X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=2219d8cfd2f6ddadd7cfddbf634c70b474144cee;hp=69075bf3ef2663dd41ea8b203151992a6a9d7af4;hb=b7fabf8b7fa066c19542579af6ef7d3777438245;hpb=5b491f6f56160505ea3d85d879772b203df9efb2 diff --git a/autoconfig.functions b/autoconfig.functions index 69075bf..2219d8c 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1583,13 +1583,6 @@ else elif checkvalue $CONFIG_MYCONFIG; then # checkbootparam myconfig einfo "Searching for device(s) labeled with $GRMLCFG. (Disable this via boot option: noautoconfig)" ; eend 0 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." - if timeout 4 dd if=/dev/fd0 of=/dev/null bs=512 count=1 >>$DEBUG 2>&1 ; then - blkid /dev/fd0 >>$DEBUG 2>&1 - fi - fi DCSDEVICE=$(blkid -t LABEL=$GRMLCFG | head -1 | awk -F: '{print $1}') modprobe 9p 2>/dev/null || true