Skip to content

Commit

Permalink
clear screen before nextcloudpi output
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Jun 29, 2017
1 parent 27830f5 commit 10a9d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10a9d2e

Please sign in to comment.