add dynamic motd generator
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2634 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
10
app-admin/motd-base/files/motd.d/99-footer
Executable file
10
app-admin/motd-base/files/motd.d/99-footer
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# motd.tail is reserved for the admin to append static
|
||||
# trailing information to a dynamically generated
|
||||
# /etc/motd.
|
||||
#
|
||||
# To add dynamic information, add a numbered
|
||||
# script to /etc/update-motd.d/
|
||||
|
||||
[ -f /etc/motd.tail ] && cat /etc/motd.tail || true
|
||||
Reference in New Issue
Block a user