#! /bin/bash #********************************************************************* # # This script is part of FAI (Fully Automatic Installation) # (c) 2003-2026 by Thomas Lange, lange@cs.uni-koeln.de # Universitaet zu Koeln # #********************************************************************* # variables needed: FAI_VERSION, do_init_tasks # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - _prcopyleft() { cat <<-EOF ------------------------------------------------- Fully Automatic Installation - FAI $FAI_VERSION (c) 1999-2026 Thomas Lange ------------------------------------------------- EOF } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # color logo only if initial install color_logo=$do_init_tasks # set red color, but not on some archs [ -e /.nocolorlogo ] && color_logo=0 [ -n "$console" ] && color_logo=0 # no red logo if console was defined on the command line case $HOSTTYPE in sparc*|powerpc*) color_logo=0 ;; esac [ $color_logo -eq 1 ] && echo -ne "\ec\e[1;31m" _prcopyleft | tee -a $LOGDIR/fai.log if [ $color_logo -eq 1 ]; then echo -ne "\e[7;0r" echo -ne "\e[9B\e[1;m" fi