summaryrefslogtreecommitdiffstats
path: root/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch
blob: eefd6a3276df482aeee5f2cb5176255c7ade9d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From ccc6013f1e55b67981fb336aba657aea1520aeda Mon Sep 17 00:00:00 2001
From: Mikko Gronoff <mikko.gronoff@qt.io>
Date: Tue, 20 Sep 2016 11:02:50 +0300
Subject: [PATCH] Disable connman when booting over NFS

---
 src/connman.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/connman.service.in b/src/connman.service.in
index 8f7f342..8470f91 100644
--- a/src/connman.service.in
+++ b/src/connman.service.in
@@ -3,6 +3,7 @@ Description=Connection service
 After=dbus.service network-pre.target
 Before=network.target remote-fs-pre.target
 Wants=network.target remote-fs-pre.target
+ConditionKernelCommandLine=!root=/dev/nfs
 
 [Service]
 Type=dbus