From fd59c8294baa5490b5087ced40b2b545a6d6e614 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 8 Jan 2026 04:21:46 +0300 Subject: [PATCH] service add --- bt-unblock.service | 12 ++++++++++++ qqqq | 12 +++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 bt-unblock.service diff --git a/bt-unblock.service b/bt-unblock.service new file mode 100644 index 0000000..9667bf2 --- /dev/null +++ b/bt-unblock.service @@ -0,0 +1,12 @@ +[Unit] +Description=Unblock Bluetooth RFKill +After=bluetooth.service +Before=car-ui.service + +[Service] +Type=oneshot +ExecStart=/usr/sbin/rfkill unblock bluetooth +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target diff --git a/qqqq b/qqqq index 31b54be..fdebc19 100644 --- a/qqqq +++ b/qqqq @@ -23,7 +23,7 @@ sudo cp -r car_ui/* /opt/car_ui/ sudo chown -R cheykrym:cheykrym /opt/car_ui /opt/car_ui/car_ui - +# сервис sudo cp car-ui.service /etc/systemd/system/car-ui.service sudo systemctl daemon-reload sudo systemctl start car-ui @@ -32,10 +32,16 @@ sudo systemctl set-default multi-user.target sudo systemctl disable lightdm sudo systemctl stop lightdm +# вкл sudo systemctl start display-manager - - sudo systemctl set-default graphical.target sudo systemctl enable lightdm sudo systemctl start lightdm + + +# блютуз разблокировка +sudo cp bt-unblock.service /etc/systemd/system/bt-unblock.service +sudo systemctl daemon-reload +sudo systemctl enable bt-unblock.service +sudo systemctl start bt-unblock.service