Fix typos in dhclient-script
This commit is contained in:
parent
c2c0b1a042
commit
b2ad46b1a6
@ -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
|
||||
|
@ -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 <pzhukov@redhat.com> - 12:4.3.6-4
|
||||
- Fix typos in dhclient-script
|
||||
|
||||
|
||||
* Thu Jul 27 2017 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-3
|
||||
- Recreate /etc/resolv.conf if NetworkManager screwed it up (#1475279)
|
||||
|
Loading…
Reference in New Issue
Block a user