diff options
-rw-r--r-- | etc/update-motd.cron | 2 | ||||
-rwxr-xr-x | sbin/update-motd (renamed from update-motd) | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/update-motd.cron b/etc/update-motd.cron new file mode 100644 index 0000000..b6cb06a --- /dev/null +++ b/etc/update-motd.cron @@ -0,0 +1,2 @@ +# update /etc/motd if needed with data from /var/log/changes +* * * * * root /usr/bin/lockrun --lockfile=/var/lock/update-motd.lockrun -- /usr/local/bin/update-motd diff --git a/update-motd b/sbin/update-motd index 50748d0..50748d0 100755 --- a/update-motd +++ b/sbin/update-motd |