ffac / gluon-ssid-changer

Original source of the ssid-changer. Now maintained by eulenfunk - so the package from there is used
Other
6 stars 29 forks source link

Error message when ssid is not found #1

Closed mmalte closed 8 years ago

mmalte commented 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

viisauksena commented 8 years ago

follow this - as done in previous merge request (just change to CURRENT_SSID) : ${ONLINE_SSID:=FREIFUNK} # if for whatever reason ONLINE_SSID is NULL

mmalte commented 8 years ago

Solved by #19