summaryrefslogtreecommitdiff
path: root/scripts/btunload.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/btunload.sh')
-rwxr-xr-xscripts/btunload.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/btunload.sh b/scripts/btunload.sh
deleted file mode 100755
index cc566138..00000000
--- a/scripts/btunload.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-MODULES="$MODULES ath3k bcm203x bluecard_cs bnep bpa10x bt3c_cs btmrvl btmrvl_sdio btsdio"
-MODULES="$MODULES btusb btuart_cs cmtp dtl1_cs hidp hci_vhci hci_uart rfcomm sco bluetooth l2cap"
-echo Stoping bluetooth service..
-/etc/init.d/bluetooth stop
-/etc/init.d/bluetooth status
-
-for i in $MODULES; do
- grep ^$i /proc/modules 2>&1 > /dev/null
- if [ $? -eq 0 ]; then
- echo Unloading $i...
- modprobe -r --ignore-remove $i
- fi
-done