aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-15 18:26:07 +0000
committerBill Nottingham <notting@redhat.com>2005-04-15 18:26:07 +0000
commitf0e2bed2b5bfefc6764d4a42bc4451922f7217e2 (patch)
tree4a21b6f3cb3be853c07b91065f80643354621037 /sysconfig/network-scripts
parent144d6b210f5333b32c9062650398fe21f4e71214 (diff)
downloadinitscripts-f0e2bed2b5bfefc6764d4a42bc4451922f7217e2.tar
initscripts-f0e2bed2b5bfefc6764d4a42bc4451922f7217e2.tar.gz
initscripts-f0e2bed2b5bfefc6764d4a42bc4451922f7217e2.tar.bz2
initscripts-f0e2bed2b5bfefc6764d4a42bc4451922f7217e2.tar.xz
initscripts-f0e2bed2b5bfefc6764d4a42bc4451922f7217e2.zip
remove ... the dhclient excess verbiage will be removed
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 04add710..ea89e64d 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -167,20 +167,11 @@ if [ -n "${DYNCONFIG}" -a -x /sbin/dhclient ]; then
exit 1
fi
- # Check for a a running instance
- if [ -f /var/run/dhclient-${DEVICE}.pid ]; then
- dhcpid=`cat /var/run/dhclient-${DEVICE}.pid`
- if [[ "`readlink /proc/$dhcpid/exe`" =~ "^/sbin/dhclient" ]]; then
- echo $" failed - dhclient already running for interface ${DEVICE} (pid $dhcpid)."
- exit 1
- fi
- fi
-
if [ -n "$ETHTOOL_OPTS" ] ; then
/sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS
fi
- if /sbin/dhclient ${DHCLIENTARGS} ${DEVICE} >/dev/null 2>&1 ; then
+ if /sbin/dhclient ${DHCLIENTARGS} ${DEVICE} ; then
echo $" done."
else
echo $" failed."