From 5c8af604a40938df7b2a766cf83a42b1b159924a Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 26 Jan 2006 22:59:22 +0000 Subject: [PATCH] Added support for SSID broadcast, closes #233 SVN-Revision: 3049 --- .../webif/files/www/cgi-bin/webif/wireless-config.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh b/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh index cc1f6b16b4..e1e5e21f0f 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh @@ -27,6 +27,11 @@ if empty "$FORM_submit"; then esac FORM_ssid=${wl0_ssid:-$(nvram get wl0_ssid)} + FORM_broadcast=${wl0_closed:-$(nvram get wl0_closed)} + case "$FORM_broadcast" in + 1|off|disabled) FORM_broadcast=1;; + *) FORM_broadcast=0;; + esac FORM_channel=${wl0_channel:-$(nvram get wl0_channel)} FORM_encryption=off akm=${wl0_akm:-$(nvram get wl0_akm)} @@ -107,6 +112,7 @@ wep|FORM_key4|WEP key 4||$FORM_key4";; validate < radio|radio|$FORM_radio|0|Disabled +field|Broadcast +radio|broadcast|$FORM_broadcast|0|Enabled
+radio|broadcast|$FORM_broadcast|1|Disabled field|ESSID text|ssid|$FORM_ssid helpitem|ESSID -- 2.30.2