display different message if AP's SSID is hidden

This commit is contained in:
oblique 2013-09-14 19:40:33 +03:00
parent ef86553238
commit a358832fa2

View File

@ -47,7 +47,6 @@ while :; do
--hidden)
shift
HIDDEN=1
echo "ignore_broadcast_ssid="$HIDDEN
;;
-c)
shift
@ -99,6 +98,8 @@ fi
CONFDIR=$(mktemp -d /tmp/create_ap.${WIFI_IFACE}.conf.XXXXXXXX)
echo "Config dir: $CONFDIR"
[[ $HIDDEN -eq 1 ]] && echo "Access Point's SSID is hidden!"
# hostapd config
cat << EOF > $CONFDIR/hostapd.conf
ssid=${SSID}