Changeset 11974
- Timestamp:
- 04/22/09 03:26:29 (4 years ago)
- Location:
- src/router
- Files:
-
- 2 edited
-
libutils/utils.c (modified) (3 diffs)
-
services/sysinit/sysinit-gateworx.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/libutils/utils.c
r11970 r11974 430 430 #elif HAVE_OMNI 431 431 nvram_set( NVROUTER, "Omni Wifi Router" ); 432 #elif HAVE_ALFA_BRANDING 433 nvram_set( NVROUTER, "WLAN base-station" ); 434 if( name ) 435 nvram_set( "DD_BOARD2", name ); 432 436 #elif HAVE_MAKSAT 433 437 if( name ) … … 533 537 if( !strncmp( gwid, "GW2348", 6 ) ) 534 538 { 535 #if HAVE_ALFA_BRANDING536 setRouter( "WLAN base-station" );537 #else538 539 setRouter( "Avila GW2348-4/2" ); 539 #endif540 540 return ROUTER_BOARD_GATEWORX; 541 541 } … … 2633 2633 return 0; 2634 2634 #else 2635 int use_gpio = 0x0 0f;2635 int use_gpio = 0x0ff; 2636 2636 int gpio_value; 2637 2637 int enable; 2638 2638 int disable; 2639 2639 2640 int power_gpio = 0x0 0f;2641 int diag_gpio = 0x0 0f;2642 int dmz_gpio = 0x0 0f;2643 int connected_gpio = 0x0 0f;2644 int bridge_gpio = 0x0 0f;2645 int vpn_gpio = 0x0 0f;2646 int ses_gpio = 0x0 0f; // use for SES1 (Linksys), AOSS (Buffalo)2647 int ses2_gpio = 0x0 0f;2648 int wlan_gpio = 0x0 0f; // use this only if wlan led is not controlled by hardware!2649 int usb_gpio = 0x0 0f;2650 int sec0_gpio = 0x0 0f; // security leds, wrt600n2651 int sec1_gpio = 0x0 0f;2640 int power_gpio = 0x0ff; 2641 int diag_gpio = 0x0ff; 2642 int dmz_gpio = 0x0ff; 2643 int connected_gpio = 0x0ff; 2644 int bridge_gpio = 0x0ff; 2645 int vpn_gpio = 0x0ff; 2646 int ses_gpio = 0x0ff; // use for SES1 (Linksys), AOSS (Buffalo) 2647 int ses2_gpio = 0x0ff; 2648 int wlan_gpio = 0x0ff; // use this only if wlan led is not controlled by hardware! 2649 int usb_gpio = 0x0ff; 2650 int sec0_gpio = 0x0ff; // security leds, wrt600n 2651 int sec1_gpio = 0x0ff; 2652 2652 int v1func = 0; 2653 2653 -
src/router/services/sysinit/sysinit-gateworx.c
r11970 r11974 145 145 time_t tm = 0; 146 146 147 eval( "ledtool", " 4", "1" ); // blink the led 4 times147 eval( "ledtool", "1", "1" ); // blink the led 4 times 148 148 unlink( "/etc/nvram/.lock" ); 149 149 cprintf( "sysinit() proc\n" );
Note: See TracChangeset
for help on using the changeset viewer.
