mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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. (From OE-Core rev: c02fce3b42513d8c741d74091b20a6a52cea32d2) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1186118de9
commit
bbca8ff5af
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ Wants=network.target
|
|||
Before=network.target
|
||||
BindsTo=sys-subsystem-net-devices-%i.device
|
||||
After=sys-subsystem-net-devices-%i.device
|
||||
Conflicts=connman.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user