diff options
Diffstat (limited to 'usbreset.sh')
-rwxr-xr-x | usbreset.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usbreset.sh b/usbreset.sh new file mode 100755 index 0000000..b481513 --- /dev/null +++ b/usbreset.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +invoke-rc.d hotplug stop +for mod in sd_mod usb-storage scsi_mod uhci ehci-hcd usbcore; do + modprobe -r $mod +done +invoke-rc.d hotplug start |