From 060f9ad9b99b0f22937746687b731d5aa30fe55f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 14 Mar 2010 17:24:00 +0100 Subject: [PATCH] projects/*/options: - add variable for setup hostname --- packages/mediacenter/xbmc/init.d/67_xbmc | 26 ------------------------ projects/ION/options | 3 +++ projects/generic/options | 3 +++ projects/intel/options | 3 +++ 4 files changed, 9 insertions(+), 26 deletions(-) delete mode 100755 packages/mediacenter/xbmc/init.d/67_xbmc diff --git a/packages/mediacenter/xbmc/init.d/67_xbmc b/packages/mediacenter/xbmc/init.d/67_xbmc deleted file mode 100755 index c8b482d7fc..0000000000 --- a/packages/mediacenter/xbmc/init.d/67_xbmc +++ /dev/null @@ -1,26 +0,0 @@ -# starting Mediacenter -# -# runlevels: openelec - -args="--standalone -fs --lircdev $LIRC_OUTPUT" - -progress "starting Mediacenter" - - if test "$XBMC_CACHING" = "yes" ; then - wait_for_xbmc_cache - XBMC_BIN="/var/cache/bin/xbmc.bin" - else - XBMC_BIN="/usr/share/xbmc/xbmc.bin" - fi - - while true; do - - DISPLAY=:0.0 $XBMC_BIN ${args} > /dev/null 2>&1 - RET=$? - echo "Exited with code $RET" - - [ "$RET" == 0 ] && break - [ "$RET" == 64 ] && sync && poweroff - [ "$RET" == 66 ] && sync && reboot - - done diff --git a/projects/ION/options b/projects/ION/options index 908256d935..f2176cde86 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -5,6 +5,9 @@ GREATING3="#######################################################" GREATING4="" +# Hostname for target system (openelec) + HOSTNAME="openelec" + # Root password to integrate in the target system ROOT_PASSWORD="openelec" diff --git a/projects/generic/options b/projects/generic/options index eb63ae951d..e9bd92ef3a 100644 --- a/projects/generic/options +++ b/projects/generic/options @@ -5,6 +5,9 @@ GREATING3="#######################################################" GREATING4="" +# Hostname for target system (openelec) + HOSTNAME="openelec" + # Root password to integrate in the target system ROOT_PASSWORD="openelec" diff --git a/projects/intel/options b/projects/intel/options index e19ac15f89..a7bc803ee3 100644 --- a/projects/intel/options +++ b/projects/intel/options @@ -5,6 +5,9 @@ GREATING3="#######################################################" GREATING4="" +# Hostname for target system (openelec) + HOSTNAME="openelec" + # Root password to integrate in the target system ROOT_PASSWORD="openelec"