From bc6305f3694e462a77cc201b033de0fba2131b22 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Tue, 10 Feb 2009 15:36:46 +1300 Subject: [PATCH] Run update-motd at reboot as well. --- debian/changelog | 1 + debian/update-motd.cron.d | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7c27682..60b4052 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ update-motd (1.10-debian1) unstable; urgency=low * First upload for Debian. + * Run update-motd at reboot. -- Andrew Ruthven Mon, 09 Feb 2009 10:20:17 +1300 diff --git a/debian/update-motd.cron.d b/debian/update-motd.cron.d index d1293dc..99cd21e 100644 --- a/debian/update-motd.cron.d +++ b/debian/update-motd.cron.d @@ -3,6 +3,7 @@ # Running 'update-motd' dynamically generates the /etc/motd with # a concatenation of output from each script in /etc/update-motd.d/* +@reboot root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null */10 * * * * root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null 0 * * * * root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd hourly 2>/dev/null 0 0 * * * root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd daily 2>/dev/null -- 2.30.2