aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/bluetooth.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/bluetooth.sh b/board/bluetooth.sh
index 405d061..960468a 100644
--- a/board/bluetooth.sh
+++ b/board/bluetooth.sh
@@ -8,7 +8,7 @@ create_missing_dir "/etc/bluetooth/"
cat << __EOF__ > "${TARGET_DIR}/etc/bluetooth/main.conf"
[General]
-Class = 200428
+Class = 0x200428
DiscoverableTimeout = 0
PairableTimeout = 0
@@ -29,9 +29,9 @@ ExecStartPre=bt-adapter --set Discoverable 1
# see https://github.com/RPi-Distro/repo/issues/291
#ExecStart=bt-agent -c NoInputNoOutput
ExecStart=/bin/sh -c '/usr/bin/yes | /usr/bin/bt-agent --capability=DisplayOnly'
-# Restart the service each 10s
-WatchdogSec=10
-RestartSec=30
+# Restart the service each 60s
+WatchdogSec=60
+RestartSec=60
Restart=always
[Install]