diff --git a/make_linux_nice.sh b/make_linux_nice.sh index fa48edb..e7c2935 100644 --- a/make_linux_nice.sh +++ b/make_linux_nice.sh @@ -14,6 +14,7 @@ cp -f "$this_dir/nice-linux/.bash_prompt" /root/ cp -f "$this_dir/nice-linux/.profile" /root/ cp -f "$this_dir/nice-linux/.vimrc" /root/ cp -rf "$this_dir/nice-linux/.ssh" /root/ +cp -rf "$this_dir/nice-linux/motd" /etc/ echo " - Configuring ssh KeepAlive settings..." sed -i -E 's|^#[[:blank:]]*ClientAliveInterval[[:blank:]]*.*$|ClientAliveInterval 60|g; s|^#[[:blank:]]*ClientAliveCountMax[[:blank:]]*.*$|ClientAliveCountMax 10|g' /etc/ssh/sshd_config diff --git a/nice-linux/motd b/nice-linux/motd new file mode 100644 index 0000000..6bbb20b --- /dev/null +++ b/nice-linux/motd @@ -0,0 +1,6 @@ + _____ .__ ____________________ + / \ |__|/ _____/\__ ___/__________ + / \ / \| |\_____ \ | |_/ __ \_ __ \ + / Y \ |/ \ | |\ ___/| | \/ + \____|__ /__/_______ / |____| \___ >__| + \/ \/ \/