]> git.etc.gen.nz Git - update-motd.git/commitdiff
Run update-motd at reboot as well.
authorAndrew Ruthven <puck@catalyst.net.nz>
Tue, 10 Feb 2009 02:36:46 +0000 (15:36 +1300)
committerAndrew Ruthven <puck@dirk.wgtn.cat-it.co.nz>
Tue, 10 Feb 2009 02:36:46 +0000 (15:36 +1300)
debian/changelog
debian/update-motd.cron.d

index 7c276823319d00845af54456c3989131b4a182f4..60b40525212ccdfcfead6516041bb1f2b310fb14 100644 (file)
@@ -1,6 +1,7 @@
 update-motd (1.10-debian1) unstable; urgency=low
 
   * First upload for Debian.
+  * Run update-motd at reboot.
 
  -- Andrew Ruthven <andrew@etc.gen.nz>  Mon, 09 Feb 2009 10:20:17 +1300
 
index d1293dc827e5ce1b64d468ff243bf97fa953fca0..99cd21e00be62a892a60c54de24edfc4fa6110b6 100644 (file)
@@ -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