aboutsummaryrefslogtreecommitdiff
path: root/bin/motd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/motd.sh')
-rw-r--r--bin/motd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/motd.sh b/bin/motd.sh
new file mode 100644
index 00000000..4ac88081
--- /dev/null
+++ b/bin/motd.sh
@@ -0,0 +1,4 @@
+# Show the system MOTD
+motd=${MOTD:-/etc/motd}
+[ -f "$motd" ] || exit
+cat -- "$motd"