Update wifi-connect.sh

This commit is contained in:
Esteban Mackay Q 2023-09-11 22:15:38 -05:00
parent 4b33ce8ace
commit 687a955c15
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
if [ "$(cat /proc/cpuinfo | grep 'Raspberry')" != "" ]; then
cd /opt
wget https://raw.githubusercontent.com/balena-os/wifi-connect/master/scripts/raspbian-install.sh
sed -i "s/CONFIRMATION=.*/CONFIRMATION=false/" raspbian-install.sh
@ -133,4 +134,4 @@ systemctl enable apoff.service
#systemctl stop apoff.service autoap.service
#systemctl start autoap.service apoff.service
fi