From 7c5f8eb1a8cd9ce1ee8082ee4d587964a7383eba Mon Sep 17 00:00:00 2001 From: Beeranco <49772805+Beeranco@users.noreply.github.com> Date: Tue, 15 Aug 2023 19:00:22 +0200 Subject: [PATCH] Update Installer.sh Fixed wifi? Maybe? --- Installer.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Installer.sh b/Installer.sh index 794beec..2deb677 100644 --- a/Installer.sh +++ b/Installer.sh @@ -118,9 +118,12 @@ if grep -q "ssid=" /etc/wpa_supplicant/wpa_supplicant.conf IP=`hostname -I` && IP=$(echo $IP | cut -d' ' -f2,3) rfkill unblock wifi else - IP=`hostname -I` && IP=$(echo $IP | cut -d ' ' -f 1) echo "country=NL" >> /etc/wpa_supplicant/wpa_supplicant.conf rfkill unblock wifi + systemctl restart wpa_supplicant + ip link set wlan0 up + sleep 30 + IP=`hostname -I` && IP=$(echo $IP | cut -d ' ' -f 1) fi if grep -q "Amsterdam" <<< "$TZDATA"; then @@ -188,7 +191,7 @@ fi $PKGUD $PKRM manpages* p7zip* vim* pigz* strace* rng-tools* manpages* triggerhappy* apt list --upgradeable 2>/dev/null | cut -d/ -f1 | grep -v Listing >> /tmp/install.list -echo "ufw" >> /tmp/install.list +echo "ufw rsync" >> /tmp/install.list xargs < /tmp/install.list xargs $PKGI $PKARM