From d9b4e08c23bf0b256ac2ad69bef4b25895fc6970 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 14 Aug 2013 22:43:17 +0200 Subject: [PATCH] bluez: fix OBEXD config paths Signed-off-by: Stephan Raue --- packages/network/bluez/system.d/obex-monitor.path | 2 +- packages/network/bluez/system.d/obex.service | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/network/bluez/system.d/obex-monitor.path b/packages/network/bluez/system.d/obex-monitor.path index ad25368960..7bebb47f41 100644 --- a/packages/network/bluez/system.d/obex-monitor.path +++ b/packages/network/bluez/system.d/obex-monitor.path @@ -2,7 +2,7 @@ Description=OBEX configfile monitor [Path] -PathModified=/storage/.cache/services/obex.conf +PathModified=/storage/.cache/services/obexd.conf PathModified=/run/openelec/debug.conf [Install] diff --git a/packages/network/bluez/system.d/obex.service b/packages/network/bluez/system.d/obex.service index db2198bd1a..5b18d3bbed 100644 --- a/packages/network/bluez/system.d/obex.service +++ b/packages/network/bluez/system.d/obex.service @@ -3,13 +3,14 @@ Description=Bluetooth service Requires=bluetooth.target bluetooth.service After=bluetooth.service -ConditionPathExists=/storage/.cache/services/obex.conf +ConditionPathExists=/storage/.cache/services/obexd.conf ConditionPathExists=/storage/.cache/services/bluez.conf [Service] -EnvironmentFile=/storage/.cache/services/obex.conf +EnvironmentFile=/storage/.cache/services/obexd.conf EnvironmentFile=-/run/openelec/debug.conf -ExecStart=/usr/lib/bluetooth/obexd $OBEX_ARGS $OBEX_DEBUG +ExecStartPre=/bin/sh -c 'mkdir -p $OBEXD_ROOT' +ExecStart=/usr/lib/bluetooth/obexd -r $OBEXD_ROOT $OBEXD_DEBUG [Install] WantedBy=bluetooth.target