This commit is contained in:
Stefan Saraev 2013-08-29 12:00:59 +03:00
parent 2ab3f5d9f8
commit 9b2a8fbb9b
9 changed files with 5 additions and 127 deletions

View File

@ -1,30 +0,0 @@
################################################################################
# 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
################################################################################
# Mediacenter environment variables.
#
# This file contains non-OpenELEC evironment variables as well as OpenELEC
# evironment variables that are not user defined.
################################################################################
XBMC_HOME="/usr/share/xbmc"
XBMC_USER_HOME="$HOME/.xbmc"
export XBMC_HOME
export XBMC_USER_HOME

View File

@ -24,7 +24,7 @@
################################################################################
# hack: add addons to $PATH
for addon in $XBMC_USER_HOME/addons/*/bin; do
for addon in /storage/.xbmc/addons/*/bin; do
if [ -d "$addon" ] ; then
PATH="$PATH:$addon"
fi

View File

@ -19,8 +19,6 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
if [ -e /var/run/lirc/lircd.irtrans ]; then
XBMC_ARGS="--lircdev /var/run/lirc/lircd.irtrans"
else

View File

@ -19,8 +19,6 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
SUBFONTS="/storage/.xbmc/userdata/fonts"
# hack to support user installed fonts

View File

@ -19,15 +19,13 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
RSA1_KEY="$CONFIG_CACHE/ssh/ssh_host_key"
RSA2_KEY="$CONFIG_CACHE/ssh/ssh_host_rsa_key"
DSA2_KEY="$CONFIG_CACHE/ssh/ssh_host_dsa_key"
RSA1_KEY="/storage/.cache/ssh/ssh_host_key"
RSA2_KEY="/storage/.cache/ssh/ssh_host_rsa_key"
DSA2_KEY="/storage/.cache/ssh/ssh_host_dsa_key"
KEYGEN="/usr/bin/ssh-keygen"
mkdir -p $CONFIG_CACHE/ssh
mkdir -p /storage/.cache/ssh
# Check for the SSH1 RSA key
if [ ! -s $RSA1_KEY ] ; then

View File

@ -1,28 +0,0 @@
################################################################################
# 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
################################################################################
# Core (Shell) environment variables.
#
# This file contains non-OpenELEC evironment variables as well as OpenELEC
# evironment variables that are not user defined.
################################################################################
CONFIG_CACHE="/storage/.cache"
export CONFIG_CACHE

View File

@ -1,28 +0,0 @@
################################################################################
# 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
################################################################################
# Core (PATH) environment variables.
#
# This file contains non-OpenELEC evironment variables as well as OpenELEC
# evironment variables that are not user defined.
################################################################################
USER_CONFIG="/storage/.config"
export USER_CONFIG

View File

@ -1,28 +0,0 @@
################################################################################
# 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
################################################################################
# setup functions
################################################################################
wait_for_dbus () {
while [ ! -e /var/run/dbus/system_bus_socket ]; do
usleep 1000000
done
}

View File

@ -20,8 +20,6 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
################################################################################
# creating needed directories and symlinks
################################################################################