aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-eth
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-03-25 16:17:16 -0400
committerPetr Lautrbach <plautrba@redhat.com>2011-08-15 09:54:22 +0200
commitdb6fc0178420a71ae4f133c08c346824c56854e9 (patch)
tree7bbf875fb4650ce3e07b202fd7a75590985d2f40 /sysconfig/network-scripts/ifdown-eth
parentdca5bbcb5d64dcacef775c5c81cb867d84081da1 (diff)
downloadinitscripts-db6fc0178420a71ae4f133c08c346824c56854e9.tar
initscripts-db6fc0178420a71ae4f133c08c346824c56854e9.tar.gz
initscripts-db6fc0178420a71ae4f133c08c346824c56854e9.tar.bz2
initscripts-db6fc0178420a71ae4f133c08c346824c56854e9.tar.xz
initscripts-db6fc0178420a71ae4f133c08c346824c56854e9.zip
Use net_log where appropriate.
Diffstat (limited to 'sysconfig/network-scripts/ifdown-eth')
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index 0f6d14ed..d9a5b43a 100755
--- a/sysconfig/network-scripts/ifdown-eth
+++ b/sysconfig/network-scripts/ifdown-eth
@@ -39,13 +39,13 @@ if [ -n "${HWADDR}" -a -z "${MACADDR}" ]; then
if [ -n "${NEWCONFIG}" ]; then
eval $(LANG=C fgrep "DEVICE=" $NEWCONFIG)
else
- echo $"Device ${DEVICE} has MAC address ${FOUNDMACADDR}, instead of configured address ${HWADDR}. Ignoring."
+ net_log $"Device ${DEVICE} has MAC address ${FOUNDMACADDR}, instead of configured address ${HWADDR}. Ignoring."
exit 1
fi
if [ -n "${NEWCONFIG}" -a "${NEWCONFIG##*/}" != "${CONFIG##*/}" -a "${DEVICE}" = "${REALDEVICE}" ]; then
exec /sbin/ifdown ${NEWCONFIG}
else
- echo $"Device ${DEVICE} has MAC address ${FOUNDMACADDR}, instead of configured address ${HWADDR}. Ignoring."
+ net_log $"Device ${DEVICE} has MAC address ${FOUNDMACADDR}, instead of configured address ${HWADDR}. Ignoring."
exit 1
fi
fi