summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-bt-reload.sh
blob: fd46aff19bb912636640c58a92f7eb6b1727b11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

echo unload bluetooth
rmmod btusb
rmmod btrtl
rmmod rfcomm
rmmod bnep
rmmod btbcm
rmmod btintel
rmmod bluetooth
lsmod | grep bluetooth
echo
echo
sleep 1s

echo load bluetooth
modprobe bluetooth
modprobe btintel
modprobe btusb
lsmod | grep bluetooth
echo
echo
sleep 1s