#!/bin/bash # Wait for the system to settle down and Bluetooth to finish loading sleep 10 if [ -d "/sys/bus/pci/drivers/rtw89_8852be" ]; then echo "0002:21:00.0" > /sys/bus/pci/drivers/rtw89_8852be/unbind sleep 2 echo "0002:21:00.0" > /sys/bus/pci/drivers/rtw89_8852be/bind fi