busybox: cleanup /etc/profile

This commit is contained in:
Stefan Saraev 2013-10-23 23:13:07 +03:00
parent 3191d8e028
commit 7ce9ac4770

View File

@ -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