Merge pull request #1012 from tlaurion/remove_double_heads_banner

init: remove double heads motd banner, keeping the one sent to tty0
This commit is contained in:
tlaurion 2021-07-27 16:19:21 -04:00 committed by GitHub
commit 183f72f07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,6 @@ mkdir -p /tmp/secret
# Now it is safe to print a banner # Now it is safe to print a banner
if [ -r /etc/motd ]; then if [ -r /etc/motd ]; then
cat /etc/motd
cat /etc/motd > /dev/tty0 cat /etc/motd > /dev/tty0
fi fi