mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: rework, rename and cleanup profile.d config files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f1c6f96972
commit
5157f5e9b6
30
packages/mediacenter/xbmc/profile.d/01-xbmc-path.conf
Normal file
30
packages/mediacenter/xbmc/profile.d/01-xbmc-path.conf
Normal file
@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
# 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
|
@ -23,10 +23,8 @@
|
||||
# evironment variables that are not user defined.
|
||||
################################################################################
|
||||
|
||||
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
||||
|
||||
# hack: add addons to $PATH
|
||||
for addon in /storage/.xbmc/addons/*/bin; do
|
||||
for addon in $XBMC_USER_HOME/addons/*/bin; do
|
||||
if [ -d "$addon" ] ; then
|
||||
PATH="$PATH:$addon"
|
||||
fi
|
28
packages/mediacenter/xbmc/profile.d/91-xbmc-startdelay.conf
Normal file
28
packages/mediacenter/xbmc/profile.d/91-xbmc-startdelay.conf
Normal file
@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
# 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.
|
||||
################################################################################
|
||||
|
||||
if [ -z "$XBMC_STARTDELAY" ]; then
|
||||
XBMC_STARTDELAY="1000000"
|
||||
fi
|
@ -23,14 +23,6 @@
|
||||
# evironment variables that are not user defined.
|
||||
################################################################################
|
||||
|
||||
if [ -z "$XBMC_STARTDELAY" ]; then
|
||||
XBMC_STARTDELAY="1000000"
|
||||
fi
|
||||
|
||||
XBMC_HOME="/usr/share/xbmc"
|
||||
|
||||
export XBMC_HOME
|
||||
|
||||
GPUTYPE="OTHER"
|
||||
|
||||
if [ -x /usr/bin/lspci ]; then
|
28
packages/sysutils/busybox/profile.d/00-path-variable.conf
Normal file
28
packages/sysutils/busybox/profile.d/00-path-variable.conf
Normal file
@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
# 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.
|
||||
################################################################################
|
||||
|
||||
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
||||
|
||||
export PATH
|
Loading…
x
Reference in New Issue
Block a user