Add dashboard Bluetooth controls

This commit is contained in:
2026-07-31 23:47:20 +02:00
parent af9de7dbdf
commit 3801a91acf
14 changed files with 301 additions and 6 deletions
+3 -1
View File
@@ -56,6 +56,7 @@ apt-get install -y \
python3 \
python3-dbus \
python3-gi \
rfkill \
rsync \
sqlite3 \
sudo \
@@ -64,7 +65,7 @@ apt-get install -y \
wireless-regdb \
wpasupplicant
for required_command in conntrack dnsmasq ip journalctl nmcli nft uuidgen wpa_passphrase; do
for required_command in conntrack dnsmasq ip journalctl nmcli nft rfkill uuidgen wpa_passphrase; do
if ! command -v "${required_command}" >/dev/null 2>&1; then
echo "Required network command was not installed: ${required_command}" >&2
exit 1
@@ -143,6 +144,7 @@ mv -Tf "${INSTALL_ROOT}/current.next" "${CURRENT}"
echo "[5/7] Installing system services"
install -m 0755 "${SCRIPT_DIR}/scripts/pi-car-companion-network-setup" /usr/local/sbin/pi-car-companion-network-setup
install -m 0755 "${SCRIPT_DIR}/scripts/pi-car-companion-power" /usr/local/sbin/pi-car-companion-power
install -m 0755 "${SCRIPT_DIR}/scripts/pi-car-companion-bluetooth-control" /usr/local/sbin/pi-car-companion-bluetooth-control
install -m 0755 "${SCRIPT_DIR}/scripts/pi-car-companion-update" /usr/local/sbin/pi-car-companion-update
install -d -m 0755 /usr/local/libexec
install -m 0755 "${SCRIPT_DIR}/scripts/pi-car-companion-bluetooth" /usr/local/libexec/pi-car-companion-bluetooth