From 7cd99270256c776c910a8888be62028d65384154 Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Mon, 4 May 2009 12:03:46 +0200 Subject: fail if HWADDR specified in ifcfg is not present in the system (#487718) --- sysconfig/network-scripts/ifup-eth | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index ab699a82..1bdd83ce 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -46,6 +46,9 @@ if [ -n "${HWADDR}" ]; then echo $"Device ${DEVICE} has different MAC address than expected, ignoring." exit 1 } + else + echo $"Device ${DEVICE} has different MAC address than expected, ignoring." + exit 1 fi fi fi -- cgit v1.2.1