summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-03 23:10:30 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-03 23:10:30 +0000
commit348821a875d93aadf00a65de7342dc893c933c07 (patch)
treea8c6617d84d803983032ab22c0513009d80fa82b
parent160b0df64174574097f6f32a997070f55498d5bb (diff)
downloaddraklive-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-xdraklive4
1 files changed, 0 insertions, 4 deletions
diff --git a/draklive b/draklive
index c6ada95..e241b58 100755
--- a/draklive
+++ b/draklive
@@ -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'"),