Skip to content

Commit

Permalink
Merge pull request coreos#494 from LorbusChris/dhclient
Browse files Browse the repository at this point in the history
chrony NM dispatcher: Account for dhclient dispatcher script in /usr/lib/
  • Loading branch information
openshift-merge-robot authored Feb 1, 2021
2 parents 5aa8db5 + 664da8f commit 3b8f9ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,5 @@ remove-from-packages:
- - dhcp-client
- "/etc/dhcp/dhclient.conf"
- "/etc/NetworkManager/dispatcher.d/11-dhclient"
- "/usr/lib/NetworkManager/dispatcher.d/11-dhclient"
- "/usr/lib64/pm-utils/sleep.d/56dhclient"
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export LC_ALL=C
# In RHCOS, 11-dhclient is excluded and not shipped with base image.
[ -e /usr/sbin/dhclient ] && \
[ -e /etc/dhcp/dhclient.d/chrony.sh ] && \
[ -e /etc/NetworkManager/dispatcher.d/11-dhclient ] && \
[ -e /etc/NetworkManager/dispatcher.d/11-dhclient -o -e /usr/lib/NetworkManager/dispatcher.d/11-dhclient ] && \
exit 0

interface=$1
Expand Down

0 comments on commit 3b8f9ff

Please sign in to comment.