replace sudo with doas in bluetooth scripts
This commit is contained in:
@ -5,4 +5,5 @@ echo "Attempting to turn off bluetooth via bluetoothctl"
|
|||||||
bluetoothctl power off
|
bluetoothctl power off
|
||||||
|
|
||||||
echo "Attempting to remove the symlink to the bluetoothd service in the /var/service/ directory"
|
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
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
# Simple script to enable bluetooth on my system
|
# Simple script to enable bluetooth on my system
|
||||||
|
|
||||||
echo "Attempting to create a symbolic link to the bluetoothd service in /var/service/"
|
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"
|
echo "Attempting to turn on bluetooth via bluetoothctl"
|
||||||
bluetoothctl power on
|
bluetoothctl power on
|
||||||
|
Reference in New Issue
Block a user