Closed mmalte closed 8 years ago
When the ssid need to be changed the first "cut" gets an empty value from the "grep".
This is not harmful, but don't look nice.
CURRENT_SSID=grep "^ssid=$ONLINE_SSID" $HOSTAPD | cut -d"=" -f2
grep "^ssid=$ONLINE_SSID" $HOSTAPD | cut -d"=" -f2
follow this - as done in previous merge request (just change to CURRENT_SSID) : ${ONLINE_SSID:=FREIFUNK} # if for whatever reason ONLINE_SSID is NULL
Solved by #19
When the ssid need to be changed the first "cut" gets an empty value from the "grep".
This is not harmful, but don't look nice.