diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 14:04:20 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 14:04:20 +1200 |
commit | 1e3fc92975dc14ee630d9df0db4815e72688f8aa (patch) | |
tree | 4375519b5626edab285e082465e2364927cf0f69 /bin/motd | |
parent | Add stex(1) (diff) | |
download | dotfiles-1e3fc92975dc14ee630d9df0db4815e72688f8aa.tar.gz dotfiles-1e3fc92975dc14ee630d9df0db4815e72688f8aa.zip |
Add motd(1)
Diffstat (limited to 'bin/motd')
-rwxr-xr-x | bin/motd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/motd b/bin/motd new file mode 100755 index 00000000..ee60ad03 --- /dev/null +++ b/bin/motd @@ -0,0 +1,5 @@ +#!/bin/sh +# Show the system MOTD +motd=${MOTD:-/etc/motd} +[ -f "$motd" ] || exit +cat -- "$motd" |