[dhcp/f15] 56dhclient: ifcfg file was not sourced (#742482)

Jiří Popelka jpopelka at fedoraproject.org
Fri Sep 30 13:56:55 UTC 2011


commit 1f8bda8f8c59ea0e9c78ebd5a337a4d9637a7634
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Fri Sep 30 15:55:56 2011 +0200

    56dhclient: ifcfg file was not sourced (#742482)

 56dhclient |    2 +-
 dhcp.spec  |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/56dhclient b/56dhclient
index 25d14db..7f185f1 100644
--- a/56dhclient
+++ b/56dhclient
@@ -21,7 +21,7 @@ suspend_dhclient() {
         NM_CONTROLLED=
         BOOTPROTO=
 
-        . ./${ifcfg}
+        . ./"${ifcfg}"
 
         if [ "${NM_CONTROLLED}" = "no" ] || [ "${NM_CONTROLLED}" = "n" ] || [ "${NM_CONTROLLED}" = "false" ]; then
             if [ "${BOOTPROTO}" = "bootp" ] || [ "${BOOTPROTO}" = "dhcp" ] || [ -z "${BOOTPROTO}" ]; then
diff --git a/dhcp.spec b/dhcp.spec
index e4c4e19..5ac506f 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -16,7 +16,7 @@
 Summary:  Dynamic host configuration protocol software
 Name:     dhcp
 Version:  4.2.1
-Release:  12.%{patchver}%{?dist}
+Release:  13.%{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.
@@ -655,6 +655,9 @@ fi
 %{_initddir}/dhcrelay
 
 %changelog
+* Fri Sep 30 2011 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.1-13.P1
+- 56dhclient: ifcfg file was not sourced (#742482)
+
 * Thu Sep 29 2011 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.1-12.P1
 - dhclient-script: address alias handling fixes from Scott Shambarger (#741786)
 


More information about the scm-commits mailing list