Uptime is there:
ubuntu@xenial-motd-news-no-uptime:~$ grep uptime /etc/update-motd.d/50-motd-news
# Some messages may only be pertinent before or after some amount of uptime
read up idle < /proc/uptime
uptime="uptime/$up/$idle"
USER_AGENT="curl/$curl_ver $lsb $platform $cpu $uptime cloud_id/$cloud_id"
Xenial verification
Current version: xenial- motd-news- no-uptime: ~$ apt-cache policy base-files br.archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages dpkg/status
ubuntu@
base-files:
Installed: 9.4ubuntu4.12
Candidate: 9.4ubuntu4.12
Version table:
*** 9.4ubuntu4.12 500
500 http://
100 /var/lib/
Uptime is there: xenial- motd-news- no-uptime: ~$ grep uptime /etc/update- motd.d/ 50-motd- news "uptime/ $up/$idle" "curl/$ curl_ver $lsb $platform $cpu $uptime cloud_id/$cloud_id"
ubuntu@
# Some messages may only be pertinent before or after some amount of uptime
read up idle < /proc/uptime
uptime=
USER_AGENT=
After updating: xenial- motd-news- no-uptime: ~$ apt-cache policy base-files br.archive. ubuntu. com/ubuntu xenial- proposed/ main amd64 Packages dpkg/status
ubuntu@
base-files:
Installed: 9.4ubuntu4.13
Candidate: 9.4ubuntu4.13
Version table:
*** 9.4ubuntu4.13 500
500 http://
100 /var/lib/
Uptime is gone: xenial- motd-news- no-uptime: ~$ grep uptime /etc/update- motd.d/ 50-motd- news xenial- motd-news- no-uptime: ~$
ubuntu@
ubuntu@
Xenial verification succeeded.