diff --git a/11-dhclient b/11-dhclient index 5842f82..3be4cd6 100644 --- a/11-dhclient +++ b/11-dhclient @@ -12,7 +12,7 @@ declare | LC_ALL=C grep '^DHCP4_[A-Z_]*=' | while read opt; do optname=${optname,,} optname=new_${optname#dhcp4_} optvalue=${opt#*=} - echo "$optname=$optvalue" + echo "export $optname=$optvalue" done )" diff --git a/dhcp.spec b/dhcp.spec index a5ceb59..6119861 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -16,7 +16,7 @@ Summary: Dynamic host configuration protocol software Name: dhcp Version: 4.2.1 -Release: 6.%{patchver}%{?dist} +Release: 7.%{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. @@ -647,6 +647,9 @@ fi %{_initddir}/dhcrelay %changelog +* Mon May 09 2011 Jiri Popelka - 12:4.2.1-7.P1 +- Fix 11-dhclient to export variables (#702735) + * Fri Apr 29 2011 Jiri Popelka - 12:4.2.1-6.P1 - Comply with guidelines for systemd services