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
|
# Remove broken link and hope NM will survive
|
||||||
if [ -h "${RESOLVCONF}" -a ! -e "${RESOLVCONF}" ];
|
if [ -h "${RESOLVCONF}" -a ! -e "${RESOLVCONF}" ];
|
||||||
then
|
then
|
||||||
logmessage "${RESOLVCONF) is broken symlink. Recreating..."
|
logmessage "${RESOLVCONF} is broken symlink. Recreating..."
|
||||||
unlink "${RESOLVCONF}"
|
unlink "${RESOLVCONF}"
|
||||||
touch "${RESOLVCONF}"
|
touch "${RESOLVCONF}"
|
||||||
fi;
|
fi;
|
||||||
@ -801,7 +801,7 @@ source_config ()
|
|||||||
run_hook "${ETCDIR}/dhclient-enter-hooks" || exit $?
|
run_hook "${ETCDIR}/dhclient-enter-hooks" || exit $?
|
||||||
run_hookdir "${ETCDIR}/dhclient-enter-hooks.d" || 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
|
if [ -f /etc/sysconfig/network ]; then
|
||||||
. /etc/sysconfig/network
|
. /etc/sysconfig/network
|
||||||
|
@ -20,7 +20,7 @@ Summary: Dynamic host configuration protocol software
|
|||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.3.6
|
Version: 4.3.6
|
||||||
%global VERSION %%{version}%%{prever}
|
%global VERSION %%{version}%%{prever}
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
||||||
# dcantrell maintaining the package) made incorrect use of the epoch and
|
# 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.
|
# that's why it is at 12 now. It should have never been used, but it was.
|
||||||
@ -661,6 +661,9 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 27 2017 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-3
|
||||||
- Recreate /etc/resolv.conf if NetworkManager screwed it up (#1475279)
|
- Recreate /etc/resolv.conf if NetworkManager screwed it up (#1475279)
|
||||||
|
Loading…
Reference in New Issue
Block a user