[dhcp/f18] dhclient-script: fixed CONFIG variable value passed to need_config (#848858)
Tomas Hozza
thozza at fedoraproject.org
Mon Aug 20 14:22:15 UTC 2012
commit 5a6fff11602537601427af6337c489c9127e2849
Author: Tomas Hozza <thozza at redhat.com>
Date: Mon Aug 20 12:27:52 2012 +0200
dhclient-script: fixed CONFIG variable value passed to need_config (#848858)
dhclient-script | 2 +-
dhcp.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dhclient-script b/dhclient-script
index d6a4d68..f43f4eb 100644
--- a/dhclient-script
+++ b/dhclient-script
@@ -643,7 +643,7 @@ if [ -f /etc/sysconfig/networking/network ]; then
fi
cd /etc/sysconfig/network-scripts
-CONFIG="ifcfg-${interface}"
+CONFIG="${interface}"
need_config ${CONFIG}
source_config >/dev/null 2>&1
diff --git a/dhcp.spec b/dhcp.spec
index 7e53722..0841b81 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -18,7 +18,7 @@
Summary: Dynamic host configuration protocol software
Name: dhcp
Version: 4.2.4
-Release: 11.%{patchver}%{?dist}
+Release: 12.%{patchver}%{?dist}
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
# dcantrell maintaining the package) made incorrect use of the epoch and
# that's why it is at 12 now. It should have never been used, but it was.
@@ -591,6 +591,9 @@ fi
%changelog
+* Mon Aug 20 2012 Tomas Hozza <thozza at redhat.com> - 12:4.2.4-12.P1
+- dhclient-script: fixed CONFIG variable value passed to need_config (#848858)
+
* Fri Aug 17 2012 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.4-11.P1
- don't build libdst, it hasn't been used since 4.2.0 (#849166)
More information about the scm-commits
mailing list