diff --git a/dhclient-script b/dhclient-script index 8ad3655..9544086 100644 --- a/dhclient-script +++ b/dhclient-script @@ -735,7 +735,7 @@ validate_resolv_conf() # Remove broken link and hope NM will survive if [ -h "${RESOLVCONF}" -a ! -e "${RESOLVCONF}" ]; then - logmessage "${RESOLVCONF) is broken symlink. Recreating..." + logmessage "${RESOLVCONF} is broken symlink. Recreating..." unlink "${RESOLVCONF}" touch "${RESOLVCONF}" fi; @@ -801,7 +801,7 @@ source_config () run_hook "${ETCDIR}/dhclient-enter-hooks" || exit $? run_hookdir "${ETCDIR}/dhclient-enter-hooks.d" || exit $? -[ "${PEERDNS}" = "no" ] || validate_resilv_conf() +[ "${PEERDNS}" = "no" ] || validate_resolv_conf if [ -f /etc/sysconfig/network ]; then . /etc/sysconfig/network diff --git a/dhcp.spec b/dhcp.spec index 6367e55..1bbfbed 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -20,7 +20,7 @@ Summary: Dynamic host configuration protocol software Name: dhcp Version: 4.3.6 %global VERSION %%{version}%%{prever} -Release: 3%{?dist} +Release: 4%{?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. @@ -661,6 +661,9 @@ done %endif %changelog +* Tue Aug 1 2017 Pavel Zhukov - 12:4.3.6-4 +- Fix typos in dhclient-script + * Thu Jul 27 2017 Pavel Zhukov - 12:4.3.6-3 - Recreate /etc/resolv.conf if NetworkManager screwed it up (#1475279)