Update /etc/motd

This commit is contained in:
Pentium44 2020-12-02 15:51:16 -08:00
parent f6db66aceb
commit 3f7dc9d2f7
2 changed files with 12 additions and 4 deletions

View File

@ -20,6 +20,7 @@ zlibmirror="https://zlib.net"
# endtag used for iso filename, and some rootfs configs # endtag used for iso filename, and some rootfs configs
endtag=`date +"%Y%m%d-%H%M"` endtag=`date +"%Y%m%d-%H%M"`
hostbuild="Debian 10"
# Source code filenames # Source code filenames
kernel="linux-5.9.1.tar.xz" kernel="linux-5.9.1.tar.xz"
@ -576,7 +577,14 @@ tty7" > etc/securetty
echo "Freon Linux $endtag \r \l" > etc/issue echo "Freon Linux $endtag \r \l" > etc/issue
echo "" >> etc/issue echo "" >> etc/issue
echo "Freon Linux, welcome..." > etc/motd echo "Welcome to
_________
___ ____/________________________
__ /_ __ ___/ _ \ __ \_ __ \
_ __/ _ / / __/ /_/ / / / /
/_/ /_/ \___/\____//_/ /_/
Compiled $endtag using $hostbuild" > etc/motd
echo "[SUID] echo "[SUID]
# Allow command to be run by anyone. # Allow command to be run by anyone.

View File

@ -5,7 +5,7 @@
. /etc/conf.d/static_network.conf . /etc/conf.d/static_network.conf
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/freon/bin:/freon/sbin export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/freon/bin:/freon/sbin
export LD_LIBRARY_PATH=/lib:/lib64:/usr/lib:/freon/lib:/freon/lib64 export LD_LIBRARY_PATH=/lib:/lib64:/usr/lib:/freon/lib:/freon/lib64:/freon/lib/x86_64-linux-gnu
# clear # clear
clear clear
@ -90,8 +90,8 @@ status
export TERM="xterm" export TERM="xterm"
export TERMINFO="/share/terminfo" export TERMINFO="/share/terminfo"
# clear command # Print MOTD
clear cat /etc/motd
# Show login prompt # Show login prompt
getty 9600 tty1 getty 9600 tty1