From cd293df88e4aba0546a620b1cbf9e297602bc2a4 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Tue, 28 Oct 1997 19:44:04 +0000 Subject: 1) fixed dhcp problem 2) version 3.21 --- sysconfig/network-scripts/ifup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index cbc1113c..59d074cc 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -94,7 +94,8 @@ if [ "$BOOTPROTO" = bootp -a "$ISALIAS" = no ]; then rm -f ${TMPFILE} elif [ "$BOOTPROTO" = dhcp -a "$ISALIAS" = no ]; then echo -n "Using DHCP for ${DEVICE}... " - /sbin/dhcpcd -c /etc/sysconfig/network-scripts/ifdhcpc-done ${DEVICE} + IFNAME=${DEVICE} \ + /sbin/dhcpcd -c /etc/sysconfig/network-scripts/ifdhcpc-done ${DEVICE} echo "echo \$$ > /var/run/dhcp-wait-${DEVICE}.pid; exec sleep 30" | sh if [ -f /var/run/dhcp-wait-${DEVICE}.pid ]; then -- cgit v1.2.1