From 0640b403f2dc33fca3b1ca121012b98c2420ef24 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 18 Jun 2025 12:06:04 +0200 Subject: Moved the systemd configuration in it’s own file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- board/bluetooth.sh | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'board/bluetooth.sh') diff --git a/board/bluetooth.sh b/board/bluetooth.sh index c1af995..b37d6da 100644 --- a/board/bluetooth.sh +++ b/board/bluetooth.sh @@ -19,27 +19,6 @@ __EOF__ # Accept any code from any connexion echo "* *" > "${TARGET_DIR}/etc/bluetooth/pins" -# Run the Bluetooth agent -cat << __EOF__ > "${TARGET_DIR}/etc/systemd/system/bt-agent.service" -[Unit] -Description=Bluetooth Agent -After=bluetooth.service -Requires=bluetooth.service - -[Service] -Type=simple -ExecStartPre=bt-adapter --set Discoverable 1 -#ExecStart=bt-agent -c NoInputNoOutput -ExecStart=bt-agent -p /etc/bluetooth/pins -## Restart the service each 60s -#WatchdogSec=60 -#RestartSec=60 -#Restart=always - -[Install] -WantedBy=multi-user.target -__EOF__ - enable_service "bt-agent.service" create_missing_dir "/etc/dbus-1/system.d/" -- cgit v1.2.3