Changeset 0ca640d in clfs-embedded for bootscripts/clfs/rc.d/init.d/bridge


Ignore:
Timestamp:
Sep 8, 2009, 4:22:53 PM (15 years ago)
Author:
Maarten Lankhorst <mlankhorst@…>
Branches:
master
Children:
1f35837
Parents:
719faf6
Message:

bootscripts: Always bring up bridge interfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/clfs/rc.d/init.d/bridge

    r719faf6 r0ca640d  
    2828                echo -n "Adding ${n} to bridge: "
    2929                brctl addif br0 ${n}
     30                # Bring up the interface unless its wireless
     31                # Wireless has to be configured before you can put it up
     32                if [ $? = 0 ] && [ ${n} != wlan0 ]; then ifconfig ${n} up; fi
    3033                check_status
    3134        done
Note: See TracChangeset for help on using the changeset viewer.