mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
busybox: cleanup /etc/profile
This commit is contained in:
parent
3191d8e028
commit
7ce9ac4770
@ -21,33 +21,19 @@
|
||||
# parse command line arguments
|
||||
for arg in $(cat /proc/cmdline); do
|
||||
case $arg in
|
||||
textmode)
|
||||
TEXTMODE=yes
|
||||
;;
|
||||
installer)
|
||||
INSTALLER=yes
|
||||
;;
|
||||
debugging)
|
||||
DEBUG=yes
|
||||
;;
|
||||
ssh)
|
||||
SSH=yes
|
||||
export DEBUG=yes
|
||||
;;
|
||||
progress)
|
||||
PROGRESS=yes
|
||||
;;
|
||||
nosplash)
|
||||
SPLASH=no
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ -e /storage/.cache/debug.openelec ] ; then
|
||||
DEBUG=yes
|
||||
export DEBUG=yes
|
||||
fi
|
||||
|
||||
export DEBUG
|
||||
|
||||
# functions
|
||||
progress() {
|
||||
if test "$PROGRESS" = yes; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user