Changeset 355

Show
Ignore:
Timestamp:
18/08/2007 11:27:16 (1 year ago)
Author:
nextime
Message:

--

Files:

Legend:

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

    r303 r355  
    1 
     1
  • wrt/whiterussian/packages/webif-hotspot-mdx/tags/mercury/Makefile

    r312 r355  
    55PKG_NAME:=webif-hotspot-mdx 
    66PKG_VERSION:=0.1.mercury 
    7 PKG_RELEASE:=1 
     7PKG_RELEASE:=2 
    88 
    99PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
  • wrt/whiterussian/packages/webif-hotspot-mdx/tags/mercury/files/www/cgi-bin/webif/hotspot-core.sh

    r303 r355  
    2323        FORM_chilli_conup="${chilli_conup:-$(nvram get chilli_conup)}" 
    2424        FORM_chilli_condown="${chilli_condown:-$(nvram get chilli_condown)}" 
    25         FORM_chilli_acctupdate="${chilli_acctupdate:-$(nvram get chilli_acctupdate)}" 
     25       FORM_chilli_cmdsocket="${chilli_cmdsocket:-$(nvram get chilli_cmdsocket)}" 
    2626else 
    2727        SAVED=1 
     
    4646string|FORM_chilli_conup|@TR<<hotspot_core_ConUp#Connection Up script>>||$FORM_chilli_conup 
    4747string|FORM_chilli_condown|@TR<<hotspot_core_ConDown#Connection Down script>>||$FORM_chilli_condown 
    48 int|FORM_chilli_acctupdate|@TR<<hotspot_core_acctupdate#Radius dynamic update>>||$FORM_chilli_acctupdate 
     48string|FORM_chilli_cmdsocket|@TR<<hotspot_core_CmdSocket#Socket for chilli utilities>>||$FORM_chilli_cmdsocket 
    4949EOF 
    5050        equal "$?" 0 && { 
     
    6767                save_setting hotspot chilli_conup "$FORM_chilli_conup" 
    6868                save_setting hotspot chilli_condown "$FORM_chilli_condown" 
    69                 save_setting hotspot chilli_acctupdate "$FORM_chilli_acctupdate
     69               save_setting hotspot chilli_cmdsocket "$FORM_chilli_cmdsocket
    7070        } 
    7171fi 
     
    141141helpitem|hotspot_core_ConDown#Connection Down script 
    142142helptext|hotspot_core_ConDown_helptext#Script to be run on client disconnection 
    143 field|@TR<<hotspot_core_acctupdate#Radius dynamic update>> 
    144 checkbox|chilli_acctupdate|$FORM_chilli_acctupdate|1 
     143field|@TR<<hotspot_core_CmdSocket#CmdSocket>> 
     144text|chilli_cmdsocket|$FORM_chilli_cmdsocket 
    145145end_form 
    146146EOF 
  • wrt/whiterussian/packages/webif-hotspot-mdx/tags/mercury/files/www/cgi-bin/webif/hotspot-networking.sh

    r303 r355  
    1010        FORM_chilli_radiusacctport="${chilli_radiusacctport:-$(nvram get chilli_radiusacctport)}" 
    1111        FORM_chilli_radiusnasid="${chilli_radiusnasid:-$(nvram get chilli_radiusnasid)}" 
     12        FORM_chilli_acctupdate="${chilli_acctupdate:-$(nvram get chilli_acctupdate)}" 
    1213        FORM_chilli_proxylisten="${chilli_proxylisten:-$(nvram get chilli_proxylisten)}" 
    1314        FORM_chilli_proxyport="${chilli_proxyport:-$(nvram get chilli_proxyport)}" 
     
    2324ports|FORM_chilli_radiusacctport|@TR<<hotspot_networking_RADIUS Acct Port#RADIUS Acct Port>>||$FORM_chilli_radiusacctport 
    2425string|FORM_chilli_radiusnasid|@TR<<hotspot_networking_RADIUS_NAS_Id#RADIUS NAS Id>>||$FORM_chilli_radiusnasid 
     26int|FORM_chilli_acctupdate|@TR<<hotspot_networking_acctupdate#Radius dynamic update>>||$FORM_chilli_acctupdate 
    2527string|FORM_chilli_proxylisten|@TR<<hotspot_networking_Proxy_Listen#Proxy Listen>>||$FORM_chilli_proxylisten 
    2628string|FORM_chilli_proxyclient|@TR<<hotspot_networking_Proxy Client#Proxy Client>>||$FORM_chilli_proxyclient 
     
    3537                save_setting hotspot chilli_radiusacctport "$FORM_chilli_radiusacctport" 
    3638                save_setting hotspot chilli_radiusnasid "$FORM_chilli_radiusnasid" 
     39                save_setting hotspot chilli_acctupdate "$FORM_chilli_acctupdate" 
    3740                save_setting hotspot chilli_proxylisten "$FORM_chilli_proxylisten" 
    3841                save_setting hotspot chilli_proxyclient "$FORM_chilli_proxyclient" 
     
    6467helpitem|hotspot_networking_RADIUS_NAS_Id#RADIUS NAS Id 
    6568helptext|hotspot_networking_RADIUS_NAS_Id_helptext#RADIUS NAS Id. 
     69field|@TR<<hotspot_networking_acctupdate#Radius dynamic update>> 
     70checkbox|chilli_acctupdate|$FORM_chilli_acctupdate|1 
     71helpitem|hotspot_networking_acctupdate#RADIUS Acct Update 
     72helptext|hotspot_networking_acctupdate_helptext#Allow Radius to send Dynamic Update in Interim update 
    6673field|@TR<<hotspot_networking_Proxy_Listen#Proxy Listen>> 
    6774text|chilli_proxylisten|$FORM_chilli_proxylisten 
  • wrt/whiterussian/packages/webif-hotspot-mdx/trunk/MDXBUILD

    r303 r355  
    1 
     1
  • wrt/whiterussian/packages/webif-hotspot-mdx/trunk/Makefile

    r312 r355  
    55PKG_NAME:=webif-hotspot-mdx 
    66PKG_VERSION:=0.1 
    7 PKG_RELEASE:=1 
     7PKG_RELEASE:=2 
    88 
    99PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
  • wrt/whiterussian/packages/webif-hotspot-mdx/trunk/files/www/cgi-bin/webif/hotspot-core.sh

    r303 r355  
    2323        FORM_chilli_conup="${chilli_conup:-$(nvram get chilli_conup)}" 
    2424        FORM_chilli_condown="${chilli_condown:-$(nvram get chilli_condown)}" 
    25         FORM_chilli_acctupdate="${chilli_acctupdate:-$(nvram get chilli_acctupdate)}" 
     25       FORM_chilli_cmdsocket="${chilli_cmdsocket:-$(nvram get chilli_cmdsocket)}" 
    2626else 
    2727        SAVED=1 
     
    4646string|FORM_chilli_conup|@TR<<hotspot_core_ConUp#Connection Up script>>||$FORM_chilli_conup 
    4747string|FORM_chilli_condown|@TR<<hotspot_core_ConDown#Connection Down script>>||$FORM_chilli_condown 
    48 int|FORM_chilli_acctupdate|@TR<<hotspot_core_acctupdate#Radius dynamic update>>||$FORM_chilli_acctupdate 
     48string|FORM_chilli_cmdsocket|@TR<<hotspot_core_CmdSocket#Socket for chilli utilities>>||$FORM_chilli_cmdsocket 
    4949EOF 
    5050        equal "$?" 0 && { 
     
    6767                save_setting hotspot chilli_conup "$FORM_chilli_conup" 
    6868                save_setting hotspot chilli_condown "$FORM_chilli_condown" 
    69                 save_setting hotspot chilli_acctupdate "$FORM_chilli_acctupdate
     69               save_setting hotspot chilli_cmdsocket "$FORM_chilli_cmdsocket
    7070        } 
    7171fi 
     
    141141helpitem|hotspot_core_ConDown#Connection Down script 
    142142helptext|hotspot_core_ConDown_helptext#Script to be run on client disconnection 
    143 field|@TR<<hotspot_core_acctupdate#Radius dynamic update>> 
    144 checkbox|chilli_acctupdate|$FORM_chilli_acctupdate|1 
     143field|@TR<<hotspot_core_CmdSocket#CmdSocket>> 
     144text|chilli_cmdsocket|$FORM_chilli_cmdsocket 
    145145end_form 
    146146EOF 
  • wrt/whiterussian/packages/webif-hotspot-mdx/trunk/files/www/cgi-bin/webif/hotspot-networking.sh

    r303 r355  
    1010        FORM_chilli_radiusacctport="${chilli_radiusacctport:-$(nvram get chilli_radiusacctport)}" 
    1111        FORM_chilli_radiusnasid="${chilli_radiusnasid:-$(nvram get chilli_radiusnasid)}" 
     12        FORM_chilli_acctupdate="${chilli_acctupdate:-$(nvram get chilli_acctupdate)}" 
    1213        FORM_chilli_proxylisten="${chilli_proxylisten:-$(nvram get chilli_proxylisten)}" 
    1314        FORM_chilli_proxyport="${chilli_proxyport:-$(nvram get chilli_proxyport)}" 
     
    2324ports|FORM_chilli_radiusacctport|@TR<<hotspot_networking_RADIUS Acct Port#RADIUS Acct Port>>||$FORM_chilli_radiusacctport 
    2425string|FORM_chilli_radiusnasid|@TR<<hotspot_networking_RADIUS_NAS_Id#RADIUS NAS Id>>||$FORM_chilli_radiusnasid 
     26int|FORM_chilli_acctupdate|@TR<<hotspot_networking_acctupdate#Radius dynamic update>>||$FORM_chilli_acctupdate 
    2527string|FORM_chilli_proxylisten|@TR<<hotspot_networking_Proxy_Listen#Proxy Listen>>||$FORM_chilli_proxylisten 
    2628string|FORM_chilli_proxyclient|@TR<<hotspot_networking_Proxy Client#Proxy Client>>||$FORM_chilli_proxyclient 
     
    3537                save_setting hotspot chilli_radiusacctport "$FORM_chilli_radiusacctport" 
    3638                save_setting hotspot chilli_radiusnasid "$FORM_chilli_radiusnasid" 
     39                save_setting hotspot chilli_acctupdate "$FORM_chilli_acctupdate" 
    3740                save_setting hotspot chilli_proxylisten "$FORM_chilli_proxylisten" 
    3841                save_setting hotspot chilli_proxyclient "$FORM_chilli_proxyclient" 
     
    6467helpitem|hotspot_networking_RADIUS_NAS_Id#RADIUS NAS Id 
    6568helptext|hotspot_networking_RADIUS_NAS_Id_helptext#RADIUS NAS Id. 
     69field|@TR<<hotspot_networking_acctupdate#Radius dynamic update>> 
     70checkbox|chilli_acctupdate|$FORM_chilli_acctupdate|1 
     71helpitem|hotspot_networking_acctupdate#RADIUS Acct Update 
     72helptext|hotspot_networking_acctupdate_helptext#Allow Radius to send Dynamic Update in Interim update 
    6673field|@TR<<hotspot_networking_Proxy_Listen#Proxy Listen>> 
    6774text|chilli_proxylisten|$FORM_chilli_proxylisten