summaryrefslogtreecommitdiffstats
path: root/rules/connman.make
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-01-31 15:58:52 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-01-31 19:57:14 +0100
commit85b0f592b2328ac1c18ab89730f280cc851f992b (patch)
treea103eeae29ce283737df673c3e32844d3c361b88 /rules/connman.make
parent82a61ea9e60237a848a5c29f71ecad7cae649340 (diff)
downloadptxdist-85b0f592b2328ac1c18ab89730f280cc851f992b.tar.gz
ptxdist-85b0f592b2328ac1c18ab89730f280cc851f992b.tar.xz
connman: ignore interfaces which are up before connman has been started
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/connman.make')
-rw-r--r--rules/connman.make8
1 files changed, 7 insertions, 1 deletions
diff --git a/rules/connman.make b/rules/connman.make
index 71ce71e09..68e7987e1 100644
--- a/rules/connman.make
+++ b/rules/connman.make
@@ -155,10 +155,16 @@ endif
endif
endif
ifdef PTXCONF_CONNMAN_SYSTEMD_UNIT
- @$(call install_copy, connman, 0, 0, 0644, -, \
+ @$(call install_alternative, connman, 0, 0, 0644, \
/lib/systemd/system/connman.service)
@$(call install_link, connman, ../connman.service, \
/lib/systemd/system/multi-user.target.wants/connman.service)
+ @$(call install_alternative, connman, 0, 0, 0644, \
+ /lib/systemd/system/connman-ignore.service)
+ @$(call install_link, connman, ../connman-ignore.service, \
+ /lib/systemd/system/connman.service.wants/connman-ignore.service)
+ @$(call install_alternative, connman, 0, 0, 0755, \
+ /lib/systemd/connman-ignore)
endif
# # dbus config