package/dhcpcd: systemv and systemd services conflict with NetworkManager
authorJim Brennan <jbrennan@impinj.com>
Tue, 1 May 2018 00:02:45 +0000 (00:02 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 6 Feb 2019 14:57:09 +0000 (15:57 +0100)
commit4b530daf42e1769018f4dd745b900841c40f8812
treef2b98388d82263fe01177b9a67333d937490220d
parent98831985440d08436529cd743a257d08dc2004b7
package/dhcpcd: systemv and systemd services conflict with NetworkManager

When NetworkManager and dhcpcd packages are both enabled, dhcpcd
services and NetworkManager both spawn dhcpcd. This causes the network
port to retrieve an IP address and later lose it a few seconds after
startup.

This patch prevents dhcpcd services from launching dhcpcd if
NetworkManager is enabled.

Signed-off-by: Jim Brennan <jbrennan@impinj.com>
[Thomas: add a comment in the code to explain the seemingly strange
condition.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dhcpcd/dhcpcd.mk