Changeset 423fe6b in clfs-embedded for bootscripts/clfs/rc.d/init.d
- Timestamp:
- Sep 9, 2009, 10:35:48 PM (15 years ago)
- Branches:
- master
- Children:
- 884672b
- Parents:
- 9a6cb5a
- git-author:
- Maarten Lankhorst <mlankhorst@…> (09/09/09 22:34:11)
- git-committer:
- Maarten Lankhorst <mlankhorst@…> (09/09/09 22:35:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/clfs/rc.d/init.d/network
r9a6cb5a r423fe6b 22 22 if [ "$DHCP" = "yes" ]; then 23 23 echo -n "Starting DHCP for interface $INTERFACE: " 24 udhcpc -b -i "$INTERFACE" \ 24 # udhcpc is braindead, bring up interface first 25 ifconfig "$INTERFACE" up 26 27 # Bridging code requires some time to wake up 28 [ "$INTERFACE" = "br0" ] && sleep 5 29 30 udhcpc -b -i "$INTERFACE" -s /etc/udhcpc.conf \ 25 31 -p "/var/run/udhcpc.$INTERFACE.pid" \ 26 32 > /dev/null
Note:
See TracChangeset
for help on using the changeset viewer.