From 755c10994e3936cf933b2d3a09d335afe481ce08 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 18 Aug 2013 14:10:28 +0200 Subject: [PATCH] systemd: rework debugconfig service Signed-off-by: Stephan Raue --- packages/sysutils/systemd/package.mk | 1 - .../systemd/scripts/openelec-debugconfig | 29 ------------------- .../systemd/system.d/debugconfig.service | 4 +-- .../sysutils/systemd/tmpfiles.d/openelec.conf | 3 +- 4 files changed, 4 insertions(+), 33 deletions(-) delete mode 100755 packages/sysutils/systemd/scripts/openelec-debugconfig diff --git a/packages/sysutils/systemd/package.mk b/packages/sysutils/systemd/package.mk index a394a8e9e0..69c8e8a475 100644 --- a/packages/sysutils/systemd/package.mk +++ b/packages/sysutils/systemd/package.mk @@ -108,7 +108,6 @@ post_makeinstall_target() { # copy openelec helper scripts mkdir -p $INSTALL/lib/systemd/ - cp $PKG_DIR/scripts/openelec-debugconfig $INSTALL/lib/systemd/ cp $PKG_DIR/scripts/openelec-userconfig $INSTALL/lib/systemd/ # provide 'halt', 'shutdown', 'reboot' & co. diff --git a/packages/sysutils/systemd/scripts/openelec-debugconfig b/packages/sysutils/systemd/scripts/openelec-debugconfig deleted file mode 100755 index a46737aa47..0000000000 --- a/packages/sysutils/systemd/scripts/openelec-debugconfig +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -################################################################################ -# 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 -################################################################################ - -mkdir -p /run/openelec - -cat > /run/openelec/debug.conf <