Changeset 11187


Ignore:
Timestamp:
12/14/08 09:33:39 (4 years ago)
Author:
eko
Message:

Move USB to own page

Location:
src/router/httpd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/modules/broadcom.c

    r11120 r11187  
    11241124    {"PPPoE_Server", "services", 0, SERVICE_RESTART, NULL}, 
    11251125    {"PPTP", "services", 0, SERVICE_RESTART, NULL}, 
     1126    {"USB", "", 0, SYS_RESTART, NULL},      
     1127    {"NAS", "nassrv", 0, SERVICE_RESTART, NULL},   
    11261128    {"Hotspot", "hotspot", 0, SERVICE_RESTART, NULL}, 
    11271129    {"AnchorFree", "anchorfree", 0, SERVICE_RESTART, NULL}, 
     
    11441146    {"Firewall", "filters", 0, SERVICE_RESTART, NULL}, 
    11451147    {"VPN", "filters", 0, SERVICE_RESTART, NULL}, 
    1146     {"NAS", "nassrv", 0, SERVICE_RESTART, NULL},    
    11471148#ifdef HAVE_MILKFISH 
    11481149    {"Milkfish", "milkfish", 0, SERVICE_RESTART, NULL}, 
  • src/router/httpd/visuals/dd-wrt.c

    r11169 r11187  
    19351935    if( ( fp = fopen( "/tmp/disktype.dump", "r" ) ) ) 
    19361936    { 
    1937  
    1938         websWrite( wp, "<fieldset>\n" 
    1939                                 "<legend><script type=\"text/javascript\">Capture(service.usb_diskinfo)</script></legend>\n" 
    1940                                 "<div class=\"setting\">\n" 
    1941                                 "<span id=\"disk_info\">\n" ); 
    1942                                  
    19431937        while( fgets( buff, sizeof( buff ), fp ) ) 
    19441938        { 
    19451939                if( strcmp( buff, "\n" ) ) 
    1946             websWrite( wp, "%s <br />", buff ); 
     1940            websWrite( wp, "%s<br />", buff ); 
    19471941        } 
    19481942        fclose( fp ); 
    1949                                  
    1950         websWrite( wp, "</span>&nbsp;\n" 
    1951                                 "</div>\n" 
    1952                                 "</fieldset><br />\n" ); 
    1953         } 
     1943        } 
     1944        else 
     1945                websWrite( wp, "<script type=\"text/javascript\">Capture(status_router.notavail)</script>" );    
    19541946 
    19551947        return; 
  • src/router/httpd/visuals/ejs.c

    r11096 r11187  
    15051505     "Wireless_MAC.asp", "Wireless_Advanced.asp", "Wireless_WDS.asp", "", "", 
    15061506     ""}, 
    1507     {"Services.asp", "PPPoE_Server.asp", "PPTP.asp", "NAS.asp", "Hotspot.asp", 
    1508      "Milkfish.asp", "eop-tunnel.asp", "AnchorFree.asp", "", "", ""}, 
     1507    {"Services.asp", "PPPoE_Server.asp", "PPTP.asp", "USB.asp", "NAS.asp", "Hotspot.asp", 
     1508     "Milkfish.asp", "eop-tunnel.asp", "AnchorFree.asp", "", ""}, 
    15091509    {"Firewall.asp", "VPN.asp", "", "", "", "", "", "", "", "", ""}, 
    15101510    {"Filters.asp", "", "", "", "", "", "", "", "", "", ""}, 
     
    15301530     "wirelessRadius", "wirelessSecurity", 
    15311531     "wirelessMac", "wirelessAdvanced", "wirelessWds", "", "", ""}, 
    1532     {"services", "servicesServices", "servicesPppoesrv", "servicesPptp", "servicesNAS",  
     1532    {"services", "servicesServices", "servicesPppoesrv", "servicesPptp", "servicesUSB", "servicesNAS",  
    15331533     "servicesHotspot", "servicesMilkfish", "setupeop", "servicesAnchorFree", 
    1534      "", "", ""}, 
     1534     "", ""}, 
    15351535    {"security", "firwall", "vpn", "", "", "", "", "", "", "", "", ""}, 
    15361536    {"accrestriction", "webaccess", "", "", "", "", "", "", "", "", "", ""}, 
     
    16771677                if( !strcmp( menu[i][j], "PPTP.asp" ) ) // jump over PPTP in 
    16781678                                                        // micro build 
     1679                    j++; 
     1680#endif 
     1681#ifndef HAVE_USB 
     1682                if( !strcmp( menu[i][j], "USB.asp" ) )  // jump over USB 
    16791683                    j++; 
    16801684#endif 
Note: See TracChangeset for help on using the changeset viewer.