Exempt also nbd.server in connman service
[AGL/meta-agl.git] / meta-agl-core / recipes-connectivity / connman / connman / 0001-disable-when-booting-over-nfs.patch
1 --- connman-1.36.orig/src/connman.service.in    2019-02-18 18:02:07.034947373 -0500
2 +++ connman-1.36/src/connman.service.in 2019-02-18 18:07:24.689959219 -0500
3 @@ -7,6 +7,8 @@
4  Before=network.target multi-user.target shutdown.target
5  Wants=network.target
6  Conflicts=systemd-resolved.service
7 +ConditionKernelCommandLine=!root=/dev/nfs
8 +ConditionKernelCommandLine=!nbd.server
9  
10  [Service]
11  Type=dbus