summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brewer <ben.brewer@codethink.co.uk>2012-10-31 10:38:50 +0000
committerPete Fotheringham <pete.fotheringham@codethink.co.uk>2012-12-13 11:02:27 +0000
commit976324ea8fea916acd6f682eee20adb5024f4957 (patch)
tree1c0db4307b208688929c0030357501e4c896ea01
parent98e8cdafb8d065c57a4f5294cfe66c8517cc83a8 (diff)
downloadbluez-976324ea8fea916acd6f682eee20adb5024f4957.tar.gz
Install bluetooth in systemd too
-rw-r--r--bluez.morph5
1 files changed, 5 insertions, 0 deletions
diff --git a/bluez.morph b/bluez.morph
index 4c2fa2edc..1a5978aa8 100644
--- a/bluez.morph
+++ b/bluez.morph
@@ -6,5 +6,10 @@
"configure-commands": [
"autoreconf -ivf",
"./configure --prefix=\"$PREFIX\" --enable-tools --enable-test --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib"
+ ],
+ "install-commands": [
+ "make install",
+ "mkdir -p /etc/systemd/systsem/bluetooth.target.wants",
+ "ln -s /lib/systemd/system/bluetooth.service /etc/systemd/system/bluetooth.target.wants/bluetooth.service"
]
}