3 ms·
Looked at a server ssh I had open to an 1804 ubuntu, and on my desktop First thing /etc/update-motd.d/50-motd-news does is source /etc/default/motd-news if it
by iso1631 6y ago
Looked at a server ssh I had open to an 1804 ubuntu, and on my desktop
First thing /etc/update-motd.d/50-motd-news does is source /etc/default/motd-news if it exists
Only if that file sets "ENABLED" to 1 will it do anything
[ "$ENABLED" = "1" ] || exit 0
I haven't knowingly deleted that file, not sure how it opts in. Perhaps this line in my preseed removes
popularity-contest popularity-contest/participate boolean false
Notably though, with base-files 10.1ubuntu2.10 and
$ dpkg -L base-files | grep motd-news
/etc/update-motd.d/50-motd-news
/lib/systemd/system/motd-news.service
/lib/systemd/system/motd-news.timer
There's a mention on the prerm about removing that conffile.