mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
- add /etc/profile.d/configcache.conf for permanent caching of configfiles to /storage/.cache - add /etc/profile.d/fastboot.conf for fastboot config variables - remove /etc/profile.d/home.conf - add /etc/profile.d/hostname.conf for hostnam config variable - remove /etc/profile.d/language.conf - cleanup /etc/profile.d/path.conf - add /etc/profile.d/runlevel.conf for detecting runlevel (move from /sbin/init) - cleanup /etc/profile.d/shell.conf - start /sbin/init with login shell to have access to profile.d variables - remove additional read of /etc/profile
14 lines
448 B
Plaintext
14 lines
448 B
Plaintext
################################################################################
|
|
# Core (Shell) environment variables.
|
|
#
|
|
# This file contains non-OpenELEC evironment variables as well as OpenELEC
|
|
# evironment variables that are not user defined.
|
|
################################################################################
|
|
|
|
# getting runlevel
|
|
RUNLEVEL="openelec"
|
|
if test "$TEXTMODE" = yes; then
|
|
RUNLEVEL="textmode"
|
|
fi
|
|
|
|
export RUNLEVEL |