Changeset 423

Show
Ignore:
Timestamp:
10/09/2007 17:43:56 (11 months ago)
Author:
nextime
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/MDXBUILD

    r417 r423  
    1 
     1
  • wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/Makefile

    r417 r423  
    55PKG_NAME:=webifmdx-hotspot 
    66PKG_VERSION:=0.1 
    7 PKG_RELEASE:=3.mercury 
     7PKG_RELEASE:=4.mercury 
    88 
    99PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
  • wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/files/bin/save_hotspot

    r384 r423  
    88nvram show 2>/dev/null | sed '/^chilli_/!d; s/^chilli_//;' | awk -F '=' ' 
    99BEGIN { 
    10         booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate)$" 
     10        booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate|macallowlocal)$" 
    1111        print "# this file is automatically generated" 
    1212} 
  • wrt/whiterussian/packages/webifmdx-hotspot/tags/mercury/files/www/cgi-bin/webifmdx/hotspot-captive.sh

    r384 r423  
    1212        FORM_chilli_uamanydns="${chilli_uamanydns:-$(nvram get chilli_uamanydns)}" 
    1313        FORM_chilli_macauth="${chilli_macauth:-$(nvram get chilli_macauth)}" 
     14   FORM_chilli_macallowlocal="${chilli_macallowlocal:-$(nvram get chilli_macallowlocal)}" 
    1415        FORM_chilli_macallowed="${chilli_macallowed:-$(nvram get chilli_macallowed)}" 
    1516        FORM_chilli_macpasswd="${chilli_macpasswd:-$(nvram get chilli_macpasswd)}" 
     
    2627int|FORM_chilli_uamanydns|@TR<<hotspot_captive_UAM_Any_DNS#UAM Any DNS>>||$FORM_chilli_uamanydns 
    2728int|FORM_chilli_macauth|@TR<<hotspot_captive_MAC_Auth#MAC Authentication>>||$FORM_chilli_macauth 
     29int|FORM_chilli_macallowlocal|@TR<<hotspot_captive_MAC_AllowLocal#MAC Local Auth>>||$FORM_chilli_macallowlocal 
    2830string|FORM_chilli_macallowed|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>>||$FORM_chilli_macallowed 
    2931string|FORM_chilli_macpasswd|@TR<<hotspot_captive_MAC_Password#MAC Password>>||$FORM_chilli_macpasswd 
     
    4042                        save_setting hotspot chilli_macallowed "$FORM_chilli_macallowed" 
    4143                        save_setting hotspot chilli_macauth "$FORM_chilli_macauth" 
     44         save_setting hotspot chilli_macallowlocal "$FORM_chilli_macallowlocal" 
    4245                        save_setting hotspot chilli_macsuffix "$FORM_chilli_macsuffix" 
    4346                        save_setting hotspot chilli_macpasswd "$FORM_chilli_macpasswd" 
     
    8285helptext|hotspot_captive_MAC_Auth_helptext#If enabled, users will be authenticated only based on their MAC Address. 
    8386field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 
     87checkbox|chilli_macallowlocal|$FORM_chilli_macallowlocal|1 
     88helpitem|hotspot_captive_MAC_AllowLocal#MAC Local Auth 
     89helptext|hotspot_captive_MAC_AllowLocal_helptext#If enabled local auth on mac address is performed. 
     90field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 
    8491text|chilli_macallowed|$FORM_chilli_macallowed 
    8592helpitem|hotspot_captive_MAC_Allowed#MAC Allowed 
  • wrt/whiterussian/packages/webifmdx-hotspot/trunk/MDXBUILD

    r417 r423  
    1 
     1
  • wrt/whiterussian/packages/webifmdx-hotspot/trunk/Makefile

    r417 r423  
    55PKG_NAME:=webifmdx-hotspot 
    66PKG_VERSION:=0.1 
    7 PKG_RELEASE:=3 
     7PKG_RELEASE:=4 
    88 
    99PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
  • wrt/whiterussian/packages/webifmdx-hotspot/trunk/files/bin/save_hotspot

    r384 r423  
    88nvram show 2>/dev/null | sed '/^chilli_/!d; s/^chilli_//;' | awk -F '=' ' 
    99BEGIN { 
    10         booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate)$" 
     10        booleanfields = "^(debug|macauth|uamanydns|coanoipcheck|acctupdate|macallowlocal)$" 
    1111        print "# this file is automatically generated" 
    1212} 
  • wrt/whiterussian/packages/webifmdx-hotspot/trunk/files/www/cgi-bin/webifmdx/hotspot-captive.sh

    r384 r423  
    1212        FORM_chilli_uamanydns="${chilli_uamanydns:-$(nvram get chilli_uamanydns)}" 
    1313        FORM_chilli_macauth="${chilli_macauth:-$(nvram get chilli_macauth)}" 
     14   FORM_chilli_macallowlocal="${chilli_macallowlocal:-$(nvram get chilli_macallowlocal)}" 
    1415        FORM_chilli_macallowed="${chilli_macallowed:-$(nvram get chilli_macallowed)}" 
    1516        FORM_chilli_macpasswd="${chilli_macpasswd:-$(nvram get chilli_macpasswd)}" 
     
    2627int|FORM_chilli_uamanydns|@TR<<hotspot_captive_UAM_Any_DNS#UAM Any DNS>>||$FORM_chilli_uamanydns 
    2728int|FORM_chilli_macauth|@TR<<hotspot_captive_MAC_Auth#MAC Authentication>>||$FORM_chilli_macauth 
     29int|FORM_chilli_macallowlocal|@TR<<hotspot_captive_MAC_AllowLocal#MAC Local Auth>>||$FORM_chilli_macallowlocal 
    2830string|FORM_chilli_macallowed|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>>||$FORM_chilli_macallowed 
    2931string|FORM_chilli_macpasswd|@TR<<hotspot_captive_MAC_Password#MAC Password>>||$FORM_chilli_macpasswd 
     
    4042                        save_setting hotspot chilli_macallowed "$FORM_chilli_macallowed" 
    4143                        save_setting hotspot chilli_macauth "$FORM_chilli_macauth" 
     44         save_setting hotspot chilli_macallowlocal "$FORM_chilli_macallowlocal" 
    4245                        save_setting hotspot chilli_macsuffix "$FORM_chilli_macsuffix" 
    4346                        save_setting hotspot chilli_macpasswd "$FORM_chilli_macpasswd" 
     
    8285helptext|hotspot_captive_MAC_Auth_helptext#If enabled, users will be authenticated only based on their MAC Address. 
    8386field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 
     87checkbox|chilli_macallowlocal|$FORM_chilli_macallowlocal|1 
     88helpitem|hotspot_captive_MAC_AllowLocal#MAC Local Auth 
     89helptext|hotspot_captive_MAC_AllowLocal_helptext#If enabled local auth on mac address is performed. 
     90field|@TR<<hotspot_captive_MAC_Allowed#MAC Allowed>> 
    8491text|chilli_macallowed|$FORM_chilli_macallowed 
    8592helpitem|hotspot_captive_MAC_Allowed#MAC Allowed