Add dashboard Bluetooth controls
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user