X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=ab7062dd86d973019afdf3fe9d5cdaa4336193ed;hp=e81392145d00cd49200d6006d7fb0384678fc6cb;hb=336d22f0089eaa50467bdae2f8d63c2294fabcba;hpb=0153caf45849999ec45b462cd20ea32ca543fdde diff --git a/autoconfig.functions b/autoconfig.functions index e813921..ab7062d 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -689,25 +689,6 @@ fi } # }}} -# {{{ hardware detection via discover -config_discover(){ -if checkbootparam 'nodisc' ; then - ewarn "Skipping hardware detection via discover as requested on boot commandline." ; eend 0 -else - if [ -x /sbin/discover ] ; then - einfo "Discovering hardware. Trying to load the following modules in background:" - eindent - einfo "$(discover --data-path=linux/module/name --data-path=linux/modules/options --format="%s %s" --data-version=`uname -r` --enable-bus all | sort -u | xargs echo)" - eoutdent - /sbin/discover-modprobe -v >>$DEBUG 2>&1 & - eend 0 - else - eerror "Application discover not available. Information: udev should handle hardware recognition." ; eend 0 - fi -fi -} -# }}} - # {{{ hardware detection via hwinfo config_hwinfo(){ if checkbootparam 'hwinfo' >>$DEBUG 2>&1; then