From 10a9d2e4f8186f7d01e6eb66096fc93b9e9a972f Mon Sep 17 00:00:00 2001 From: nachoparker Date: Thu, 29 Jun 2017 04:41:04 +0200 Subject: clear screen before nextcloudpi output --- etc/library.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/library.sh b/etc/library.sh index df371362..8efeab64 100755 --- a/etc/library.sh +++ b/etc/library.sh @@ -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 -- cgit v1.2.3