Run setterm, to blank terminal, only for non-automated installations

This commit is contained in:
Jason Ertel
2020-07-19 06:58:24 -04:00
parent 514df1211e
commit 053f27eb35

View File

@@ -118,7 +118,9 @@ if [ "$OS" == ubuntu ]; then
update-alternatives --set newt-palette /etc/newt/palette.original >> $setup_log 2>&1 update-alternatives --set newt-palette /etc/newt/palette.original >> $setup_log 2>&1
fi fi
setterm -blank 0 > /dev/null if [ $automated == no ]; then
setterm -blank 0 >> $setup_log 2>&1
fi
if [ "$setup_type" == 'iso' ] || (whiptail_you_sure); then if [ "$setup_type" == 'iso' ] || (whiptail_you_sure); then
true true