From a358832fa24e047fc0e7ff7ab244bbd46925bbfa Mon Sep 17 00:00:00 2001 From: oblique Date: Sat, 14 Sep 2013 19:40:33 +0300 Subject: [PATCH] display different message if AP's SSID is hidden --- create_ap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/create_ap b/create_ap index e3925b7..2f102ef 100755 --- a/create_ap +++ b/create_ap @@ -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}