X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=autoconfig.functions;h=254daa03a897087900d1ef821a1d6b5731b7a090;hb=41dd94d5393a08db9ecd4df3e79e95454be2ba5b;hp=69075bf3ef2663dd41ea8b203151992a6a9d7af4;hpb=5b491f6f56160505ea3d85d879772b203df9efb2;p=grml-autoconfig.git diff --git a/autoconfig.functions b/autoconfig.functions index 69075bf..254daa0 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -477,7 +477,7 @@ config_time(){ [ -z "$KTZ" ] && [ -r /etc/timezone ] && KTZ=$(cat /etc/timezone) if [ ! -f "/usr/share/zoneinfo/$KTZ" ] ; then ewarn "Warning: unknown timezone $KTZ" ; eend 1 - KTZ="Europe/Vienna" + KTZ="UTC" ewarn "Falling back to timezone $KTZ" ; eend 0 fi @@ -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