Comment 8 for bug 367484

ozstriker78 (ozstriker78) wrote :

here is a better script...

===== cut ========
rmmod usb_storage
rmmod option
rmmod usbserial
echo "sleeping for 2 seconds to let the drivers unload...." && sleep 2
modprobe option
echo "sleeping for 2 seconds to make usb_storage detect the storage device..."
&& sleep 2 && echo "done sleeping"
modprobe usb_storage
===== cut ========