Add new banner function

This commit is contained in:
Luke Murphy 2019-07-09 10:00:22 +02:00
parent b5edf7b672
commit 0b74c1efa1
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -360,6 +360,21 @@ function show_post_install_banner {
echo ""
}
function install_new_motd {
{ echo ""
echo ""
echo " ____ _ _ _ _ _ _ "
echo " | _ \(_) | | (_) | | | |"
echo " | |_) |_| |__ | |_ ___ | |_ ___ ___| |__ __ _ "
echo " | _ <| | '_ \| | |/ _ \| __/ _ \/ __| '_ \ / _' |"
echo " | |_) | | |_) | | | (_) | || __/ (__| | | | (_| |"
echo " |____/|_|_.__/|_|_|\___/ \__\___|\___|_| |_|\__,_|"
echo ""
echo " Digital books need libraries too"
echo ""
echo ""; } > /etc/motd/
}
function reboot_system {
echo "Rebooting system ..."
@ -392,6 +407,7 @@ function run_installation {
configure_calibreweb
show_post_install_banner
install_new_motd
reboot_system
}