Changeset 13131

Show
Ignore:
Timestamp:
10/22/09 00:24:34 (1 month ago)
Author:
BrainSlayer
Message:

new wifidog

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/router/services/services/wifidog.c

    r12224 r13131  
    6161                fprintf(fp, "SSLPort %s\n", nvram_safe_get("wd_sslport")); 
    6262                fprintf(fp, "HTTPPort %s\n", nvram_safe_get("wd_httpport")); 
     63                if (strlen(nvram_safe_get("wd_messagefile")) > 0) { 
     64                        fprintf(fp, "HtmlMessageFile %s\n", nvram_safe_get("wd_messagefile")); 
     65                } 
    6366                fprintf(fp, "Path %s\n", nvram_safe_get("wd_path")); 
    6467                fprintf(fp, "}\n"); 
  • src/router/wifidog/config/2wifidog.webhotspot

    r10859 r13131  
    9696                        <input class="text" maxlength="100" size="39" name="wd_path" value="<% nvram_get("wd_path"); %>" /> 
    9797                </div> 
     98                <div class="setting">    
     99                        <div class="label"><% tran("hotspot.wifidog_messagefile"); %></div> 
     100                        <input class="text" maxlength="100" size="39" name="wd_path" value="<% nvram_get("wd_messagefile"); %>" /> 
     101                </div> 
    98102                <div class="setting"> 
    99103                                <div class="label"><% tran("hotspot.wifidog_config"); %></div> 
  • src/router/wifidog/config/wifidog.nvramconfig

    r10859 r13131  
    1212"wd_httpport" "Authserver http port" "NULL" "TRUE" "0" 
    1313"wd_path" "Authserver path" "NULL" "TRUE" "0" 
     14"wd_messagefile" "Wifidog Messagefile" "NULL" "TRUE" "0" 
    1415"wd_config" "additional config" NULL" "TRUE" "0"