aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-03-14 15:44:30 +0000
committerBill Nottingham <notting@redhat.com>2002-03-14 15:44:30 +0000
commita101ea0cadb5e1afb3a21e49bc7d7c91d7f6d17f (patch)
tree9df0d9e7c2d46356307dcc841c5df02c3e431aeb
parent855ad2cd5a1d6439715b2ffb39836171e896c6f8 (diff)
downloadinitscripts-a101ea0cadb5e1afb3a21e49bc7d7c91d7f6d17f.tar
initscripts-a101ea0cadb5e1afb3a21e49bc7d7c91d7f6d17f.tar.gz
initscripts-a101ea0cadb5e1afb3a21e49bc7d7c91d7f6d17f.tar.bz2
initscripts-a101ea0cadb5e1afb3a21e49bc7d7c91d7f6d17f.tar.xz
initscripts-a101ea0cadb5e1afb3a21e49bc7d7c91d7f6d17f.zip
don't look in profiles; there should be links
-rwxr-xr-xsysconfig/network-scripts/ifdown4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index ffe1d80a..bf9c9e9f 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -56,10 +56,6 @@ if [ -n "${HWADDR}" ]; then
NEWCONFIG=`fgrep -l "HWADDR=${HWADDR}" /etc/sysconfig/network-scripts/ifcfg-*`
if [ -n "${NEWCONFIG}" ]; then
exec /sbin/ifdown ${NEWCONFIG}
- fi
- NEWCONFIG=`fgrep -l "HWADDR=${HWADDR}" /etc/sysconfig/networking/default/ifcfg-*`
- if [ -n "${NEWCONFIG}" ]; then
- exec /sbin/ifdown ${NEWCONFIG}
else
echo $"Device ${DEVICE} has different MAC address than expected, ignoring."
exit 1