aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1997-10-28 19:44:04 +0000
committerErik Troan <ewt@redhat.com>1997-10-28 19:44:04 +0000
commitcd293df88e4aba0546a620b1cbf9e297602bc2a4 (patch)
tree8fe59942c69f200bafa454b5dd61d46c483d4da8 /sysconfig
parentec973cbe5466cf043545fb6347349b247936be3c (diff)
downloadinitscripts-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')
-rwxr-xr-xsysconfig/network-scripts/ifup3
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