Handle dhcp4-change events properly
This commit is contained in:
parent
09eafe36fc
commit
6af423a3ad
@ -25,6 +25,10 @@ if [ -d $ETCDIR/dhclient.d ]; then
|
||||
. "${f}"
|
||||
if [ "$2" = "up" ]; then
|
||||
"${subsystem}_config"
|
||||
elif [ "$2" = "dhcp4-change" ]; then
|
||||
if [ "$subsystem" = "chrony" -o "$subsystem" = "ntp" ]; then
|
||||
"${subsystem}_config"
|
||||
fi
|
||||
elif [ "$2" = "down" ]; then
|
||||
"${subsystem}_restore"
|
||||
fi
|
||||
|
@ -16,7 +16,7 @@
|
||||
Summary: Dynamic host configuration protocol software
|
||||
Name: dhcp
|
||||
Version: 4.3.6
|
||||
Release: 24%{?dist}
|
||||
Release: 25%{?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.
|
||||
@ -677,6 +677,9 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jun 18 2018 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-25
|
||||
- Resolves: 1592239 - Handle dhcp4-change event properly
|
||||
|
||||
* Mon May 21 2018 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-24
|
||||
- Fix few more shellcheck warnings
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user