mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
projects/*/options:
- add variable for setup hostname
This commit is contained in:
parent
bbfa9f24f6
commit
060f9ad9b9
@ -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
|
|
@ -5,6 +5,9 @@
|
|||||||
GREATING3="#######################################################"
|
GREATING3="#######################################################"
|
||||||
GREATING4=""
|
GREATING4=""
|
||||||
|
|
||||||
|
# Hostname for target system (openelec)
|
||||||
|
HOSTNAME="openelec"
|
||||||
|
|
||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
ROOT_PASSWORD="openelec"
|
||||||
|
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
GREATING3="#######################################################"
|
GREATING3="#######################################################"
|
||||||
GREATING4=""
|
GREATING4=""
|
||||||
|
|
||||||
|
# Hostname for target system (openelec)
|
||||||
|
HOSTNAME="openelec"
|
||||||
|
|
||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
ROOT_PASSWORD="openelec"
|
||||||
|
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
GREATING3="#######################################################"
|
GREATING3="#######################################################"
|
||||||
GREATING4=""
|
GREATING4=""
|
||||||
|
|
||||||
|
# Hostname for target system (openelec)
|
||||||
|
HOSTNAME="openelec"
|
||||||
|
|
||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
ROOT_PASSWORD="openelec"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user