From 1dfc18cb84f05bcf90abd9655b8ce928dfdaded0 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 18 Jan 2019 22:11:25 +0100 Subject: [PATCH] added motd.sh --- .gitignore | 1 + bin/motd.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 bin/motd.sh diff --git a/.gitignore b/.gitignore index 62725a34..365cf92d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ !bin/gnucash.sh !bin/hanez.org.sh !bin/steam.sh +!bin/motd.sh !bin/myip.sh !bin/nas-boot.sh !bin/nas-reboot.sh diff --git a/bin/motd.sh b/bin/motd.sh new file mode 100755 index 00000000..3f624b44 --- /dev/null +++ b/bin/motd.sh @@ -0,0 +1,7 @@ +#!/bin/ash + +echo "" > /etc/motd +hostname -f >> /etc/motd +echo "" >> /etc/motd +vnstat >> /etc/motd +