diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2025-06-18 12:06:04 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2025-06-18 12:06:04 +0200 |
commit | 0640b403f2dc33fca3b1ca121012b98c2420ef24 (patch) | |
tree | ad7412b9bf9c24420cab47143004e5891992837f /board/bluetooth.sh | |
parent | 8e654849a088d7e2843233e90a0994829de638d0 (diff) |
Moved the systemd configuration in it’s own file
Diffstat (limited to 'board/bluetooth.sh')
-rw-r--r-- | board/bluetooth.sh | 21 |
1 files changed, 0 insertions, 21 deletions
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/" |