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)
|
--hidden)
|
||||||
shift
|
shift
|
||||||
HIDDEN=1
|
HIDDEN=1
|
||||||
echo "ignore_broadcast_ssid="$HIDDEN
|
|
||||||
;;
|
;;
|
||||||
-c)
|
-c)
|
||||||
shift
|
shift
|
||||||
@ -99,6 +98,8 @@ fi
|
|||||||
CONFDIR=$(mktemp -d /tmp/create_ap.${WIFI_IFACE}.conf.XXXXXXXX)
|
CONFDIR=$(mktemp -d /tmp/create_ap.${WIFI_IFACE}.conf.XXXXXXXX)
|
||||||
echo "Config dir: $CONFDIR"
|
echo "Config dir: $CONFDIR"
|
||||||
|
|
||||||
|
[[ $HIDDEN -eq 1 ]] && echo "Access Point's SSID is hidden!"
|
||||||
|
|
||||||
# hostapd config
|
# hostapd config
|
||||||
cat << EOF > $CONFDIR/hostapd.conf
|
cat << EOF > $CONFDIR/hostapd.conf
|
||||||
ssid=${SSID}
|
ssid=${SSID}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user