From e2c0da698dfd2d80b53f66729b7c6851ed3134cf Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Tue, 16 Jun 2020 15:44:00 -0500 Subject: [PATCH] fix typo --- diagnostic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diagnostic b/diagnostic index 8a8b196..5a33cd4 100644 --- a/diagnostic +++ b/diagnostic @@ -235,7 +235,7 @@ HS=$(systemctl is-active autohotspot) CURRENTNAME=$(sudo cat /etc/hostapd/hostapd.conf | grep ssid= | head -1 | sed 's/ssid=//') CURRENTPASS=$(sudo cat /etc/hostapd/hostapd.conf | grep wpa_passphrase= | sed 's/wpa_passphrase=//') HSIP=$(sudo cat /usr/bin/autohotspotN | grep "ip a add" | sed 's/ip\ a\ add\ //' | sed 's/\/24.*$//' | tr -d " ") -WIREIP$(ifconfig | grep -A 1 eth0 | grep inet | awk '{ print $2 }') +WIREIP=$(ifconfig | grep -A 1 eth0 | grep inet | awk '{ print $2 }') HSS=$(sudo cat /usr/bin/autohotspotN | grep "ip a add" | awk '{ print $4 }' | sed 's/\/24//') CIP=$(ifconfig | grep -A 1 wlan0 | grep inet | awk '{ print $2 }') CHECK=$(ls /etc/wpa_supplicant/ | grep FORCE)