diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-10-04 01:04:21 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-10-04 01:04:21 +0200 |
commit | 168639ab5ae9e369a4a8fbeee12c52846ba35633 (patch) | |
tree | c46fcd26c5c919a7c61705eee685d1b95e95badb | |
parent | 6f73adafe1abdebc65fea82dd8ae05a0ceb0141b (diff) | |
download | update-motd-master.tar.gz update-motd-master.tar.bz2 update-motd-master.zip |
-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 |