Files
utility_scripts/bluetooth-off.sh

10 lines
336 B
Bash
Executable File

#!/bin/sh
# Simple script to disable bluetooth on Void Linux (using the runit init system)
echo "Attempting to turn off bluetooth via bluetoothctl"
bluetoothctl power off
echo "Attempting to remove the symlink to the bluetoothd service in the /var/service/ directory"
# sudo rm /var/service/bluetoothd
doas rm /var/service/bluetoothd