/usr/lib/fai/prcopyleft is in fai-client 3.4.8ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #! /bin/bash
#*********************************************************************
#
# This script is part of FAI (Fully Automatic Installation)
# (c) 2003-2010 by Thomas Lange, lange@informatik.uni-koeln.de
# Universitaet zu Koeln
#
#*********************************************************************
# variables needed: FAI_VERSION, do_init_tasks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_prcopyleft() {
cat <<-EOF
-------------------------------------------------
Fully Automatic Installation - FAI
$FAI_VERSION (c) 1999-2010
Thomas Lange <lange@informatik.uni-koeln.de>
-------------------------------------------------
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
|