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,32 +21,18 @@
# 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() {