Changeset 30916


Ignore:
Timestamp:
2012-03-13T10:18:30+01:00 (6 years ago)
Author:
nbd
Message:

base-files: remove old coldplugging hacks that are no longer necessary since the new main hotplug2 instance calls udevtrigger as well

File:
1 edited

Legend:

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

    r29862 r30916  
    8888                        --max-children 1 >/dev/null 2>&1 & 
    8989 
    90         # the coldplugging of network interfaces needs to happen later, so we do it manually here 
    91         for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do 
    92                 /usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net 
    93         done 
    94  
    9590        # create /dev/root if it doesn't exist 
    9691        [ -e /dev/root -o -h /dev/root ] || { 
     
    9893                [ -n "$rootdev" ] && ln -s "$rootdev" /dev/root 
    9994        } 
    100  
    101         # another round of USB coldplugging to kick devices into operation which lacked drivers before 
    102         for dev in /sys/bus/usb/devices/*/uevent; do 
    103                 [ -e "$dev" ] && echo -n add > "$dev" 
    104         done 
    10595} 
    10696 
Note: See TracChangeset for help on using the changeset viewer.