Files
utility_scripts/bluetooth-on.sh

11 lines
363 B
Bash
Executable File

#!/bin/sh
# Simple script to enable bluetooth on Void Linux (using the runit init system)
echo "Attempting to create a symbolic link to the bluetoothd service in /var/service/"
# sudo ln -s /etc/sv/bluetoothd /var/service/
doas ln -s /etc/sv/bluetoothd /var/service/
echo "Attempting to turn on bluetooth via bluetoothctl"
bluetoothctl power on
bluetoothctl