From c98a734f40957311a61a9118acb00b71e7d9edf4 Mon Sep 17 00:00:00 2001 From: fake Date: Sun, 9 Jul 2006 18:07:48 +0000 Subject: [PATCH] fake: bootdisk: remove hwscan here, too. [2006070916583926535] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7719 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- target/bootdisk/linuxrc.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/target/bootdisk/linuxrc.sh b/target/bootdisk/linuxrc.sh index c33f6ed01..96bde8d78 100644 --- a/target/bootdisk/linuxrc.sh +++ b/target/bootdisk/linuxrc.sh @@ -371,16 +371,6 @@ config_net() { # {{{ ip route echo } # }}} -autoload_modules () { # {{{ - while read cmd mod rest ; do - [ -n "${rest}" ] && continue - [ -z "${cmd}" ] && continue - if [ "${cmd}" == "modprobe" -o "${cmd}" == "insmod" ] ; then - echo "${cmd} ${mod}" - ${cmd} ${mod} 2>&1 >/dev/null - fi - done < <( /bin/gawk -f /bin/hwscan ) -} # }}} exec_sh() { # {{{ echo "Quit the shell to return to the stage 1 loader!" /bin/sh @@ -429,8 +419,6 @@ emit_udev_events mod_load_info -autoload_modules - # some devices (scsi...) need time to settle... echo "Waiting for devices to settle..." sleep 5