projects/*/options:

- add variable for setup hostname
This commit is contained in:
Stephan Raue 2010-03-14 17:24:00 +01:00
parent bbfa9f24f6
commit 060f9ad9b9
4 changed files with 9 additions and 26 deletions

View File

@ -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

View File

@ -5,6 +5,9 @@
GREATING3="#######################################################"
GREATING4=""
# Hostname for target system (openelec)
HOSTNAME="openelec"
# Root password to integrate in the target system
ROOT_PASSWORD="openelec"

View File

@ -5,6 +5,9 @@
GREATING3="#######################################################"
GREATING4=""
# Hostname for target system (openelec)
HOSTNAME="openelec"
# Root password to integrate in the target system
ROOT_PASSWORD="openelec"

View File

@ -5,6 +5,9 @@
GREATING3="#######################################################"
GREATING4=""
# Hostname for target system (openelec)
HOSTNAME="openelec"
# Root password to integrate in the target system
ROOT_PASSWORD="openelec"