summaryrefslogtreecommitdiff
path: root/recipes-connectivity/connman/connman/dont_start_connman_on_nfsboot.patch
blob: 8aa86aa419806260ef6ad104fcbc13434f13cfa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- connman-1.31/src/connman.service.in~	2016-01-24 13:16:06.000000000 +0100
+++ connman-1.31/src/connman.service.in	2016-01-24 13:43:09.650266502 +0100
@@ -6,6 +6,8 @@
 After=dbus.service network-pre.target systemd-sysusers.service
 Before=network.target multi-user.target shutdown.target
 Wants=network.target
+# only if not NFS mount, connman will disconnect your rootfs otherwise!
+ConditionKernelCommandLine=!root=/dev/nfs
 
 [Service]
 Type=dbus