From 30a2f06aec0e0c59c3a980b9852afd463337d265 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 12 Jul 2013 20:51:51 +0200 Subject: [PATCH] connman: add tmpfiles.d support Signed-off-by: Stephan Raue --- packages/network/connman/init.d/21_network | 4 ---- .../connman/tmpfiles.d/21_connman.conf | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 packages/network/connman/tmpfiles.d/21_connman.conf diff --git a/packages/network/connman/init.d/21_network b/packages/network/connman/init.d/21_network index d03509951d..71ce6d9709 100644 --- a/packages/network/connman/init.d/21_network +++ b/packages/network/connman/init.d/21_network @@ -22,10 +22,6 @@ # # runlevels: openelec, textmode -mkdir -p $CONFIG_CACHE/connman -mkdir -p /storage/.config/vpn-config -mkdir -p /run/connman - if [ -f $HOME/.config/debug.connman ]; then CONNMAN_DEBUG="-d" fi diff --git a/packages/network/connman/tmpfiles.d/21_connman.conf b/packages/network/connman/tmpfiles.d/21_connman.conf new file mode 100644 index 0000000000..7383b3da93 --- /dev/null +++ b/packages/network/connman/tmpfiles.d/21_connman.conf @@ -0,0 +1,23 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +d /run/connman 0755 root root 10d - +d /storage/.cache/connman 0755 root root 10d - +d /storage/.config/vpn-config 0755 root root 10d -