mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
clean up
This commit is contained in:
parent
2ab3f5d9f8
commit
9b2a8fbb9b
@ -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
|
|
@ -24,7 +24,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# hack: add addons to $PATH
|
# 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
|
if [ -d "$addon" ] ; then
|
||||||
PATH="$PATH:$addon"
|
PATH="$PATH:$addon"
|
||||||
fi
|
fi
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
. /etc/profile
|
|
||||||
|
|
||||||
if [ -e /var/run/lirc/lircd.irtrans ]; then
|
if [ -e /var/run/lirc/lircd.irtrans ]; then
|
||||||
XBMC_ARGS="--lircdev /var/run/lirc/lircd.irtrans"
|
XBMC_ARGS="--lircdev /var/run/lirc/lircd.irtrans"
|
||||||
else
|
else
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
. /etc/profile
|
|
||||||
|
|
||||||
SUBFONTS="/storage/.xbmc/userdata/fonts"
|
SUBFONTS="/storage/.xbmc/userdata/fonts"
|
||||||
|
|
||||||
# hack to support user installed fonts
|
# hack to support user installed fonts
|
||||||
|
@ -19,15 +19,13 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
. /etc/profile
|
RSA1_KEY="/storage/.cache/ssh/ssh_host_key"
|
||||||
|
RSA2_KEY="/storage/.cache/ssh/ssh_host_rsa_key"
|
||||||
RSA1_KEY="$CONFIG_CACHE/ssh/ssh_host_key"
|
DSA2_KEY="/storage/.cache/ssh/ssh_host_dsa_key"
|
||||||
RSA2_KEY="$CONFIG_CACHE/ssh/ssh_host_rsa_key"
|
|
||||||
DSA2_KEY="$CONFIG_CACHE/ssh/ssh_host_dsa_key"
|
|
||||||
|
|
||||||
KEYGEN="/usr/bin/ssh-keygen"
|
KEYGEN="/usr/bin/ssh-keygen"
|
||||||
|
|
||||||
mkdir -p $CONFIG_CACHE/ssh
|
mkdir -p /storage/.cache/ssh
|
||||||
|
|
||||||
# Check for the SSH1 RSA key
|
# Check for the SSH1 RSA key
|
||||||
if [ ! -s $RSA1_KEY ] ; then
|
if [ ! -s $RSA1_KEY ] ; then
|
||||||
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
@ -20,8 +20,6 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
. /etc/profile
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# creating needed directories and symlinks
|
# creating needed directories and symlinks
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user