aboutsummaryrefslogtreecommitdiff
path: root/board/bluetooth.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/bluetooth.sh')
-rw-r--r--board/bluetooth.sh21
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/"