create_ap

create a nat-ed wifi ap
git clone git://git.2f30.org/create_ap.git
Log | Files | Refs | LICENSE

commit a358832fa24e047fc0e7ff7ab244bbd46925bbfa
parent ef86553238d2f74c0c3a634c6c3ab38c803e3594
Author: oblique <psyberbits@gmail.com>
Date:   Sat Sep 14 19:40:33 +0300

display different message if AP's SSID is hidden

Diffstat:
create_ap | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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}