aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcpcd/files/dhcpcd.service
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-09-24 10:41:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-24 22:32:44 +0100
commitc02fce3b42513d8c741d74091b20a6a52cea32d2 (patch)
tree3656f019d4870804e82298fecac9bed51879ce1a /meta/recipes-connectivity/dhcpcd/files/dhcpcd.service
parentb6923b3805ebdfdcfa1312bf5b0f368fe800029c (diff)
downloadopenembedded-core-contrib-c02fce3b42513d8c741d74091b20a6a52cea32d2.tar.gz
openembedded-core-contrib-c02fce3b42513d8c741d74091b20a6a52cea32d2.tar.bz2
openembedded-core-contrib-c02fce3b42513d8c741d74091b20a6a52cea32d2.zip
dhcpcd: set service to conflict with connman
As the default network manager, connman has its own internal DHCP implement. If run dhcpcd and connman simultaneously, they may conflict with each other. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd/files/dhcpcd.service')
-rw-r--r--meta/recipes-connectivity/dhcpcd/files/dhcpcd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/files/dhcpcd.service b/meta/recipes-connectivity/dhcpcd/files/dhcpcd.service
index 86b5a43c37..bbed6d85c4 100644
--- a/meta/recipes-connectivity/dhcpcd/files/dhcpcd.service
+++ b/meta/recipes-connectivity/dhcpcd/files/dhcpcd.service
@@ -2,6 +2,7 @@
Description=A minimalistic network configuration daemon with DHCPv4, rdisc and DHCPv6 support
Wants=network.target
Before=network.target
+Conflicts=connman.service
[Service]
ExecStart=/usr/sbin/dhcpcd -q --nobackground