From 97610a0f3f852bc10ac5a26d8411ea0eecf1d7c6 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 3 Jul 2010 18:36:53 +0200 Subject: [PATCH] installer: adding init script Signed-off-by: Stephan Raue --- packages/tools/installer/init.d/60_installer | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 packages/tools/installer/init.d/60_installer diff --git a/packages/tools/installer/init.d/60_installer b/packages/tools/installer/init.d/60_installer new file mode 100755 index 0000000000..dfd37b99cd --- /dev/null +++ b/packages/tools/installer/init.d/60_installer @@ -0,0 +1,34 @@ +#!/bin/sh + +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.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, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +# starting Installer +# +# runlevels: openelec + +. /etc/profile + +progress "starting Installer" + +while true; do + /usr/bin/installer + sync && poweroff +done