summaryrefslogtreecommitdiff
path: root/usbreset.sh
blob: b481513ba6b55fb69f159e06dc5f9c3d0b86a879 (plain)
  1. #!/bin/sh
  2. invoke-rc.d hotplug stop
  3. for mod in sd_mod usb-storage scsi_mod uhci ehci-hcd usbcore; do
  4. modprobe -r $mod
  5. done
  6. invoke-rc.d hotplug start