#!/bin/bash

if [[ "\$(lsmod | grep bluetooth | grep btusb)" != "" ]]; then
    echo "btusb mod found; removing"
    sleep 2
    modprobe -r btusb
    sleep 3
    modprobe btusb
else
    echo "btusb mod not found; inserting"
    modprobe btusb
fi
