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