X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=autoconfig.functions;h=2f7e3132ea50acd160d71e9e741a2527d489f5ef;hb=29e7a5429ab9111be4fc634c6007220ae1dcc118;hp=61f4266415a94d2ee13d1a46df7956d9b9a2db2b;hpb=df29c9febe86bbc6bfcd8fd20da28b7bad86307e;p=grml-autoconfig.git diff --git a/autoconfig.functions b/autoconfig.functions index 61f4266..2f7e313 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -193,7 +193,7 @@ config_fwtimeout(){ fi if [ -f /sys/class/firmware/timeout ] ; then einfo "Setting timeout for firmware loading to ${TIMEOUT}." - echo 100 > /sys/class/firmware/timeout ; eend $? + echo $TIMEOUT > /sys/class/firmware/timeout ; eend $? fi } # }}} @@ -613,18 +613,6 @@ fi } # }}} -# {{{ Bring up loopback interface now -config_local_net(){ - if [ -z "$INSTALLED" ] ; then - if grep -q 'iface lo inet loopback' /etc/network/interfaces 2>/dev/null ; then - grep -q lo=lo /etc/network/run/ifstate 2>/dev/null || ifup lo - else - ifconfig lo up - fi - fi -} -# }}} - # {{{ copy passwd-lockfile to ramdisk (fix unionfs-behaviour) # otherwise we will get: passwd: Authentication token lock busy config_fix_passwd(){