13 lines
		
	
	
		
			277 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			277 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
set -euo pipefail
 | 
						|
 | 
						|
echo stopping bluetooth...
 | 
						|
sudo systemctl stop bluetooth-autoconnect
 | 
						|
sudo systemctl stop bluetooth
 | 
						|
sudo rmmod btusb
 | 
						|
 | 
						|
echo starting bluetooth...
 | 
						|
sudo modprobe btusb
 | 
						|
sudo systemctl start bluetooth
 | 
						|
sudo systemctl start bluetooth-autoconnect
 |