Changeset 17544


Ignore:
Timestamp:
2009-09-09T02:16:55+02:00 (7 years ago)
Author:
nbd
Message:

Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates

Location:
trunk/package/base-files/files
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/etc/init.d/network

    r17527 r17544  
    55STOP=40 
    66 
    7 config_cb() { 
    8         local cfg_type="$1" 
    9  
    10         case "$cfg_type" in 
    11                 interface) 
    12                         append networks "$2" "$N" 
    13                 ;; 
    14         esac 
    15 } 
    16  
    177boot() { 
    18         uci_load network 
    198        setup_switch() { return 0; } 
    209 
     
    2413                /sbin/wifi detect > /etc/config/wireless 
    2514        /sbin/wifi up 
    26         for network in $networks; do 
    27                 config_get startupcheck $network started 
    28                 [ "$startupcheck" = "" ] && ifup $network 
    29         done 
    3015} 
    3116 
  • trunk/package/base-files/files/lib/network/config.sh

    r17527 r17544  
    154154        uci_set_state network "$config" ifname "$ifname" 
    155155        uci_set_state network "$config" device "$device" 
    156         uci_set_state network "$config" started 1 
    157156} 
    158157 
  • trunk/package/base-files/files/usr/share/udhcpc/default.script

    r17527 r17544  
    204204                                config_get aliases "$ifc" aliases 
    205205                                uci_revert_state network "$ifc" 
    206                                 uci_set_state network "$ifc" started 1 
    207206                                [ -n "$device" ] && uci_set_state network "$ifc" device "$device" 
    208207                                [ -n "$ifname" ] && uci_set_state network "$ifc" ifname "$ifname" 
Note: See TracChangeset for help on using the changeset viewer.