diff options
author | Alan Pevec <apevec@redhat.com> | 2009-05-04 12:03:46 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-04 16:05:04 +0200 |
commit | 7cd99270256c776c910a8888be62028d65384154 (patch) | |
tree | 0f38e4b9918eefcbed31407ebf94c4ed6aad516d | |
parent | 39cc28572304cb8ed04f26144744e83d8af1e19f (diff) | |
download | initscripts-7cd99270256c776c910a8888be62028d65384154.tar initscripts-7cd99270256c776c910a8888be62028d65384154.tar.gz initscripts-7cd99270256c776c910a8888be62028d65384154.tar.bz2 initscripts-7cd99270256c776c910a8888be62028d65384154.tar.xz initscripts-7cd99270256c776c910a8888be62028d65384154.zip |
fail if HWADDR specified in ifcfg is not present in the system (#487718)
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 3 |
1 files changed, 3 insertions, 0 deletions
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 |