Changeset 9335


Ignore:
Timestamp:
03/21/08 20:05:38 (5 years ago)
Author:
BrainSlayer
Message:

we should care about this too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/sysinit-broadcom.c

    r9328 r9335  
    12601260  if (nvram_match ("vdsl_state", "1") && enable) 
    12611261    donothing = 1; 
    1262   if (nvram_match ("vdsl_state", "0") && !enable) 
     1262  if ((nvram_match ("vdsl_state", "0") || nvram_match ("vdsl_state", "")) && !enable) 
    12631263    donothing = 1; 
    12641264  if (enable) 
     
    13381338          for (i = 0; i < 16; i++) 
    13391339            { 
    1340               sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports", "", 
    1341                        eth, i); 
     1340              sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports", "",eth, i); 
    13421341              system2 (tmp); 
    13431342            } 
     
    13481347              if (nvram_get (vlanb) == NULL || nvram_match (vlanb, "")) 
    13491348                continue; 
    1350               sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports", 
    1351                        nvram_safe_get (vlanb), eth, i); 
     1349              sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports",nvram_safe_get (vlanb), eth, i); 
    13521350              system2 (tmp); 
    13531351            } 
Note: See TracChangeset for help on using the changeset viewer.