Skip to content

Commit acfc22b

Browse files
authored
Update bluetooth-control.sh
1 parent 64600e1 commit acfc22b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/tabs/utils/bluetooth-control.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ setupBluetooth() {
2525
printf "%b\n" "${GREEN}Bluez is already installed.${RC}"
2626
fi
2727

28-
startService bluetooth
28+
SERVICE_NAME="bluetooth"
29+
if [ "$INIT_MANAGER" = "sv" ]; then
30+
SERVICE_NAME="bluetoothd"
31+
fi
32+
33+
startAndEnableService "$SERVICE_NAME"
2934
}
3035

3136
# Function to display the main menu

0 commit comments

Comments
 (0)