diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-03 23:10:30 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-03 23:10:30 +0000 |
commit | 348821a875d93aadf00a65de7342dc893c933c07 (patch) | |
tree | a8c6617d84d803983032ab22c0513009d80fa82b | |
parent | 160b0df64174574097f6f32a997070f55498d5bb (diff) | |
download | draklive-348821a875d93aadf00a65de7342dc893c933c07.tar draklive-348821a875d93aadf00a65de7342dc893c933c07.tar.gz draklive-348821a875d93aadf00a65de7342dc893c933c07.tar.bz2 draklive-348821a875d93aadf00a65de7342dc893c933c07.tar.xz draklive-348821a875d93aadf00a65de7342dc893c933c07.zip |
drop usb-storage hack, this should be done by probe-modules
-rwxr-xr-x | draklive | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -537,10 +537,6 @@ sub create_initrd_scriptlet { "mount -t sysfs none /sys", (map { join(" ", "insmod", "/modules/$_.ko", grep { $_ } $live->{system}{module_options}{$_}) } @modules), "probe-modules", - if_(member('usb-storage', @modules), - #- wait some seconds for the usb-stor-scan process to be run - "sleep 2", - q(sh -c 'while ps | grep -q \\\[usb-stor-scan\\\]; do sleep 1; done')), if_($rrpt_dev, "echo *** Waiting for new partitions on device ${rrpt_dev} ***", "sh -c 'while ! ls /sys/block/${rrpt_dev}/${rrpt_dev}* >/dev/null 2>&1; do sleep 3; blockdev --rereadpt /dev/${rrpt_dev} >/dev/null 2>&1; done'"), |