Martin-
Notice that the init script sources /etc/default/update-motd, where it
should obtain $FREQ_IN_MIN.
To change /etc/cron.d/update-motd, the administrator could either "dpkg-
reconfigure update-motd", or edit /etc/default/update-motd directly
(which is what the postinst script will affect).
The file, /etc/cron.d/update-motd has a note to that effect in it:
# /etc/cron.d/update-motd: crontab fragment for update-motd
#
# THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT DIRECTLY.
# To change, use:
# dpkg-reconfigure update-motd
#
# This updates the /etc/motd with a concatenation of output from each
# script in /etc/update-motd.d
#
# This file is automatically generated by /etc/init.d/update-motd, which
# uses /usr/share/update-motd/update-motd.cron as a template.
*/10 * * * * root /usr/sbin/update-motd 2>/dev/null
Does that assuage your concerns at all?
:-Dustin
--
main inclusion request: update-motd
https://bugs.launchpad.net/bugs/260443
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs