diff options
author | Erik Troan <ewt@redhat.com> | 1997-10-28 19:44:04 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1997-10-28 19:44:04 +0000 |
commit | cd293df88e4aba0546a620b1cbf9e297602bc2a4 (patch) | |
tree | 8fe59942c69f200bafa454b5dd61d46c483d4da8 /sysconfig/network-scripts/ifup | |
parent | ec973cbe5466cf043545fb6347349b247936be3c (diff) | |
download | initscripts-cd293df88e4aba0546a620b1cbf9e297602bc2a4.tar initscripts-cd293df88e4aba0546a620b1cbf9e297602bc2a4.tar.gz initscripts-cd293df88e4aba0546a620b1cbf9e297602bc2a4.tar.bz2 initscripts-cd293df88e4aba0546a620b1cbf9e297602bc2a4.tar.xz initscripts-cd293df88e4aba0546a620b1cbf9e297602bc2a4.zip |
1) fixed dhcp problem
2) version 3.21
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 3 |
1 files changed, 2 insertions, 1 deletions
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 |