Add new banner function
This commit is contained in:
parent
b5edf7b672
commit
0b74c1efa1
@ -360,6 +360,21 @@ function show_post_install_banner {
|
|||||||
echo ""
|
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 {
|
function reboot_system {
|
||||||
echo "Rebooting system ..."
|
echo "Rebooting system ..."
|
||||||
|
|
||||||
@ -392,6 +407,7 @@ function run_installation {
|
|||||||
configure_calibreweb
|
configure_calibreweb
|
||||||
|
|
||||||
show_post_install_banner
|
show_post_install_banner
|
||||||
|
install_new_motd
|
||||||
reboot_system
|
reboot_system
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user