Update /etc/motd
This commit is contained in:
parent
f6db66aceb
commit
3f7dc9d2f7
10
build-freon
10
build-freon
@ -20,6 +20,7 @@ zlibmirror="https://zlib.net"
|
||||
|
||||
# endtag used for iso filename, and some rootfs configs
|
||||
endtag=`date +"%Y%m%d-%H%M"`
|
||||
hostbuild="Debian 10"
|
||||
|
||||
# Source code filenames
|
||||
kernel="linux-5.9.1.tar.xz"
|
||||
@ -576,7 +577,14 @@ tty7" > etc/securetty
|
||||
echo "Freon Linux $endtag \r \l" > etc/issue
|
||||
echo "" >> etc/issue
|
||||
|
||||
echo "Freon Linux, welcome..." > etc/motd
|
||||
echo "Welcome to
|
||||
_________
|
||||
___ ____/________________________
|
||||
__ /_ __ ___/ _ \ __ \_ __ \
|
||||
_ __/ _ / / __/ /_/ / / / /
|
||||
/_/ /_/ \___/\____//_/ /_/
|
||||
|
||||
Compiled $endtag using $hostbuild" > etc/motd
|
||||
|
||||
echo "[SUID]
|
||||
# Allow command to be run by anyone.
|
||||
|
@ -5,7 +5,7 @@
|
||||
. /etc/conf.d/static_network.conf
|
||||
|
||||
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
|
||||
@ -90,8 +90,8 @@ status
|
||||
export TERM="xterm"
|
||||
export TERMINFO="/share/terminfo"
|
||||
|
||||
# clear command
|
||||
clear
|
||||
# Print MOTD
|
||||
cat /etc/motd
|
||||
|
||||
# Show login prompt
|
||||
getty 9600 tty1
|
||||
|
Loading…
x
Reference in New Issue
Block a user