From 8594d29c5dd2b217070e691453cfa8ac6dde53f5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 28 Jul 2026 10:35:45 -0400 Subject: [PATCH] Update install allow nmcli to manage wifi --- install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install b/install index 5dee03cb..2f943ab3 100755 --- a/install +++ b/install @@ -255,6 +255,8 @@ if [[ $(grep 'bookworm' /etc/os-release) ]]; then sudo sh -c 'echo "\n" >> /boot/firmware/config.txt' + sudo sed -i 's/managed=false/managed=true/g' /etc/NetworkManager/NetworkManager.conf # allow nmcli to manage WiFi + elif [[ $(grep 'trixie' /etc/os-release) ]]; then echo "Trixie detected, installation continuing." @@ -709,9 +711,10 @@ else FLAG=1 fi -if [ -d "/home/pi/pi-power-button" ]; then +FILE=/etc/init.d/listen-for-shutdown.sh +if [ -f $FILE ]; then echo "Uninstalling pi-power-button" - sudo rm /etc/init.d/listen-for-shutdown.sh + sudo rm $FILE fi FILE=/etc/systemd/system/pushbutton.service