tools/hotplug: Extend dhcpd conf, init and arg files search
authorDiego Sueiro <diego.sueiro@arm.com>
Thu, 20 Aug 2020 11:01:11 +0000 (12:01 +0100)
committerWei Liu <wl@xen.org>
Wed, 9 Sep 2020 12:41:34 +0000 (12:41 +0000)
commit17f80e7fc1e3bb49fc91794ef1b6e5a2f1b540cb
tree97f2066cb649456eb69558a65368caacbda59721
parent5499e0fc8082024bf7e2d0facd5c976e82105070
tools/hotplug: Extend dhcpd conf, init and arg files search

Newer versions of the ISC dhcp server expect the dhcpd.conf file
to be located at /etc/dhcp directory.

Also, some distributions and Yocto based ones have these installation
paths by default: /etc/init.d/{isc-dhcp-server,dhcp-server} and
/etc/default/dhcp-server.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Wei Liu <wl@xen.org>
tools/hotplug/Linux/xen-network-common.sh