The packaged NM dispatcher and dhclient scripts provide the same
functionality. Only one should be active depending on the system
configuration.
Instead of guessing in the NM dispatcher script whether the dhclient
script is executed, check in the dhclient script whether it is called
from a NM dispatcher script (the 11-dhclient script included in the
dhcp-client package).
This is simpler and it removes dependency on the 11-dhclient script.
Patch the upstream example `nm-dispatcher.dhcp` with
Fedora/RHEL-specific behavior including exiting if a dhclient
install is detected, and using the /etc/sysconfig paths.
Originally part of work for fixing integration between the
NetworkManager internal DHCP client and chrony:
https://bugzilla.redhat.com/show_bug.cgi?id=1800901