diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-17 18:36:59 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-17 18:36:59 +0000 |
commit | 61aa376708a80147e0a76837a2221d0e3ea19161 (patch) | |
tree | 4244936090c1a248ae183ed71bfa9a113e878f2e /move | |
parent | 5eebded275f01bea4633dc4d33657be2af49c9ae (diff) | |
download | drakx-61aa376708a80147e0a76837a2221d0e3ea19161.tar drakx-61aa376708a80147e0a76837a2221d0e3ea19161.tar.gz drakx-61aa376708a80147e0a76837a2221d0e3ea19161.tar.bz2 drakx-61aa376708a80147e0a76837a2221d0e3ea19161.tar.xz drakx-61aa376708a80147e0a76837a2221d0e3ea19161.zip |
hotplug sux when it goes to loading usb modules in beginning of move because modules are loaded in background, it takes up much time and we don't know when usb-storage is loaded, so we sometimes even missed the detection of usb key, so let's load the modules we're interested it ourselves
Diffstat (limited to 'move')
-rw-r--r-- | move/move.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm index c6d96d087..32cb9dabc 100644 --- a/move/move.pm +++ b/move/move.pm @@ -104,8 +104,11 @@ sub init { modules::load_category('multimedia/sound'); + system('sysctl -w kernel.hotplug="/bin/true"'); modules::load_category('bus/usb'); + eval { modules::load('usb-storage', 'sd_mod') }; install_steps::setupSCSI($o); + system('sysctl -w kernel.hotplug="/sbin/hotplug"'); handleMoveKey($o); drakx_stuff: |