diff --git a/bluetooth-off.sh b/bluetooth-off.sh index 163ca99..056a61f 100755 --- a/bluetooth-off.sh +++ b/bluetooth-off.sh @@ -5,4 +5,5 @@ 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 +# sudo rm /var/service/bluetoothd +doas rm /var/service/bluetoothd diff --git a/bluetooth-on.sh b/bluetooth-on.sh index b8fcb74..28a8749 100755 --- a/bluetooth-on.sh +++ b/bluetooth-on.sh @@ -2,7 +2,8 @@ # Simple script to enable bluetooth on my system echo "Attempting to create a symbolic link to the bluetoothd service in /var/service/" -sudo ln -s /etc/sv/bluetoothd /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