From c85d4c956d7bba3236cb399d3032d092ba79e28b Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 10 Nov 2022 16:59:13 +0100 Subject: Updated the Watchdog time to 10mn instead of 10s --- board/bluetooth.sh | 8 ++++---- 1 file 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] -- cgit v1.2.3