X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=2219d8cfd2f6ddadd7cfddbf634c70b474144cee;hp=cacd5b99ff05d85b531505fa2854cc6f8c6452b7;hb=b7fabf8b7fa066c19542579af6ef7d3777438245;hpb=53d861d43b14be926aa1a020da9e4866bb44e654 diff --git a/autoconfig.functions b/autoconfig.functions index cacd5b9..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 (this might take a few seconds)." - if timeout 4 dd if=/dev/fd0 of=/dev/null bs=512 count=1 >>$DEBUG 2>&1 ; then - timeout 4 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