Changeset 423
- Timestamp:
- 10/09/2007 17:43:56 (11 months ago)
- Files:
-
- wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/MDXBUILD (modified) (1 diff)
- wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/Makefile (modified) (1 diff)
- wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/files/bin/save_hotspot (modified) (1 diff)
- wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/files/www/cgi-bin/webifmdx/hotspot-captive.sh (modified) (4 diffs)
- wrt/whiterussian/packages/webifmdx-hotspot/trunk/MDXBUILD (modified) (1 diff)
- wrt/whiterussian/packages/webifmdx-hotspot/trunk/Makefile (modified) (1 diff)
- wrt/whiterussian/packages/webifmdx-hotspot/trunk/files/bin/save_hotspot (modified) (1 diff)
- wrt/whiterussian/packages/webifmdx-hotspot/trunk/files/www/cgi-bin/webifmdx/hotspot-captive.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/MDXBUILD
r417 r423 1 5 1 6 wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/Makefile
r417 r423 5 5 PKG_NAME:=webifmdx-hotspot 6 6 PKG_VERSION:=0.1 7 PKG_RELEASE:= 3.mercury7 PKG_RELEASE:=4.mercury 8 8 9 9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/files/bin/save_hotspot
r384 r423 8 8 nvram show 2>/dev/null | sed '/^chilli_/!d; s/^chilli_//;' | awk -F '=' ' 9 9 BEGIN { 10 booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate )$"10 booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate|macallowlocal)$" 11 11 print "# this file is automatically generated" 12 12 } wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/files/www/cgi-bin/webifmdx/hotspot-captive.sh
r384 r423 12 12 FORM_chilli_uamanydns="${chilli_uamanydns:-$(nvram get chilli_uamanydns)}" 13 13 FORM_chilli_macauth="${chilli_macauth:-$(nvram get chilli_macauth)}" 14 FORM_chilli_macallowlocal="${chilli_macallowlocal:-$(nvram get chilli_macallowlocal)}" 14 15 FORM_chilli_macallowed="${chilli_macallowed:-$(nvram get chilli_macallowed)}" 15 16 FORM_chilli_macpasswd="${chilli_macpasswd:-$(nvram get chilli_macpasswd)}" … … 26 27 int|FORM_chilli_uamanydns|@TR<<hotspot_captive_UAM_Any_DNS#UAM Any DNS>>||$FORM_chilli_uamanydns 27 28 int|FORM_chilli_macauth|@TR<<hotspot_captive_MAC_Auth#MAC Authentication>>||$FORM_chilli_macauth 29 int|FORM_chilli_macallowlocal|@TR<<hotspot_captive_MAC_AllowLocal#MAC Local Auth>>||$FORM_chilli_macallowlocal 28 30 string|FORM_chilli_macallowed|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>>||$FORM_chilli_macallowed 29 31 string|FORM_chilli_macpasswd|@TR<<hotspot_captive_MAC_Password#MAC Password>>||$FORM_chilli_macpasswd … … 40 42 save_setting hotspot chilli_macallowed "$FORM_chilli_macallowed" 41 43 save_setting hotspot chilli_macauth "$FORM_chilli_macauth" 44 save_setting hotspot chilli_macallowlocal "$FORM_chilli_macallowlocal" 42 45 save_setting hotspot chilli_macsuffix "$FORM_chilli_macsuffix" 43 46 save_setting hotspot chilli_macpasswd "$FORM_chilli_macpasswd" … … 82 85 helptext|hotspot_captive_MAC_Auth_helptext#If enabled, users will be authenticated only based on their MAC Address. 83 86 field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 87 checkbox|chilli_macallowlocal|$FORM_chilli_macallowlocal|1 88 helpitem|hotspot_captive_MAC_AllowLocal#MAC Local Auth 89 helptext|hotspot_captive_MAC_AllowLocal_helptext#If enabled local auth on mac address is performed. 90 field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 84 91 text|chilli_macallowed|$FORM_chilli_macallowed 85 92 helpitem|hotspot_captive_MAC_Allowed#MAC Allowed wrt/whiterussian/packages/webifmdx-hotspot/trunk/MDXBUILD
r417 r423 1 6 1 7 wrt/whiterussian/packages/webifmdx-hotspot/trunk/Makefile
r417 r423 5 5 PKG_NAME:=webifmdx-hotspot 6 6 PKG_VERSION:=0.1 7 PKG_RELEASE:= 37 PKG_RELEASE:=4 8 8 9 9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) wrt/whiterussian/packages/webifmdx-hotspot/trunk/files/bin/save_hotspot
r384 r423 8 8 nvram show 2>/dev/null | sed '/^chilli_/!d; s/^chilli_//;' | awk -F '=' ' 9 9 BEGIN { 10 booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate )$"10 booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate|macallowlocal)$" 11 11 print "# this file is automatically generated" 12 12 } wrt/whiterussian/packages/webifmdx-hotspot/trunk/files/www/cgi-bin/webifmdx/hotspot-captive.sh
r384 r423 12 12 FORM_chilli_uamanydns="${chilli_uamanydns:-$(nvram get chilli_uamanydns)}" 13 13 FORM_chilli_macauth="${chilli_macauth:-$(nvram get chilli_macauth)}" 14 FORM_chilli_macallowlocal="${chilli_macallowlocal:-$(nvram get chilli_macallowlocal)}" 14 15 FORM_chilli_macallowed="${chilli_macallowed:-$(nvram get chilli_macallowed)}" 15 16 FORM_chilli_macpasswd="${chilli_macpasswd:-$(nvram get chilli_macpasswd)}" … … 26 27 int|FORM_chilli_uamanydns|@TR<<hotspot_captive_UAM_Any_DNS#UAM Any DNS>>||$FORM_chilli_uamanydns 27 28 int|FORM_chilli_macauth|@TR<<hotspot_captive_MAC_Auth#MAC Authentication>>||$FORM_chilli_macauth 29 int|FORM_chilli_macallowlocal|@TR<<hotspot_captive_MAC_AllowLocal#MAC Local Auth>>||$FORM_chilli_macallowlocal 28 30 string|FORM_chilli_macallowed|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>>||$FORM_chilli_macallowed 29 31 string|FORM_chilli_macpasswd|@TR<<hotspot_captive_MAC_Password#MAC Password>>||$FORM_chilli_macpasswd … … 40 42 save_setting hotspot chilli_macallowed "$FORM_chilli_macallowed" 41 43 save_setting hotspot chilli_macauth "$FORM_chilli_macauth" 44 save_setting hotspot chilli_macallowlocal "$FORM_chilli_macallowlocal" 42 45 save_setting hotspot chilli_macsuffix "$FORM_chilli_macsuffix" 43 46 save_setting hotspot chilli_macpasswd "$FORM_chilli_macpasswd" … … 82 85 helptext|hotspot_captive_MAC_Auth_helptext#If enabled, users will be authenticated only based on their MAC Address. 83 86 field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 87 checkbox|chilli_macallowlocal|$FORM_chilli_macallowlocal|1 88 helpitem|hotspot_captive_MAC_AllowLocal#MAC Local Auth 89 helptext|hotspot_captive_MAC_AllowLocal_helptext#If enabled local auth on mac address is performed. 90 field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 84 91 text|chilli_macallowed|$FORM_chilli_macallowed 85 92 helpitem|hotspot_captive_MAC_Allowed#MAC Allowed
