Changeset 7149


Ignore:
Timestamp:
2007-05-09T22:54:41+02:00 (10 years ago)
Author:
nbd
Message:

fix networking on broadcom and possibly other targets as well (#1658)

Location:
trunk/package/base-files/files/etc/init.d
Files:
1 deleted
1 edited

Legend:

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

    r7097 r7149  
    1212} 
    1313 
     14apply_uci_config() {( 
     15        include /lib/config 
     16        uci_apply_defaults 
     17)} 
     18 
    1419start() { 
    1520        [ -f /proc/mounts ] || /sbin/mount_root 
    1621        [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc 
    1722        vconfig set_name_type DEV_PLUS_VID_NO_PAD 
    18          
     23 
     24        apply_uci_config 
    1925        config_load system 
    2026        config_foreach system_config system 
     
    2834        [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe 
    2935         
     36        /sbin/hotplug2 --persistent --max-children 1 & 
     37 
    3038        # the coldplugging of network interfaces needs to happen later, so we do it manually here 
    3139        for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do 
    3240                /usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net 
    3341        done 
    34         /sbin/hotplug2 --persistent --max-children 1 & 
    3542 
    3643        # create /dev/root if it doesn't exist 
Note: See TracChangeset for help on using the changeset viewer.