clear screen before nextcloudpi output

This commit is contained in:
nachoparker 2017-06-29 04:41:04 +02:00
parent 27830f5057
commit 10a9d2e4f8

View File

@ -234,6 +234,7 @@ function configure_script()
config $SCRIPT || return 1 # writes "$INSTALLATION_CODE"
echo -e "$INSTALLATION_CODE" > $SCRIPT # save configuration
source ./$SCRIPT # load configuration
printf '\033[2J' && tput cup 0 0 # clear screen, don't clear scroll, cursor on top
echo -e "Launching \e[1m$( basename $SCRIPT .sh )\e[0m"
set +x
configure