display different message if AP's SSID is hidden
This commit is contained in:
parent
ef86553238
commit
a358832fa2
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user