diff options
author | Bill Nottingham <notting@redhat.com> | 2011-03-25 16:17:16 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2011-03-25 16:17:16 -0400 |
commit | 255a2b7db036fd4b1df99028ba6298c4b5837485 (patch) | |
tree | e963c8244423f54f6c9ffd4c65773f907452fab4 /sysconfig/network-scripts/ifdown-eth | |
parent | 0d4c67a520b64f029d094e9a3d10ec179683c033 (diff) | |
download | initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar.gz initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar.bz2 initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar.xz initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.zip |
Use net_log where appropriate.
Diffstat (limited to 'sysconfig/network-scripts/ifdown-eth')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-eth | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index 530975c3..80b99544 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 grep -F "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 |