Uptime is there:
ubuntu@bionic-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"
Bionic verification
Current version: br.archive. ubuntu. com/ubuntu bionic-updates/main amd64 Packages dpkg/status
$ apt-cache policy base-files
base-files:
Installed: 10.1ubuntu2.9
Candidate: 10.1ubuntu2.9
Version table:
*** 10.1ubuntu2.9 500
500 http://
100 /var/lib/
Uptime is there: bionic- 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, it's gone: bionic- motd-news- no-uptime: ~$ apt-cache policy base-files br.archive. ubuntu. com/ubuntu bionic- proposed/ main amd64 Packages dpkg/status
ubuntu@
base-files:
Installed: 10.1ubuntu2.10
Candidate: 10.1ubuntu2.10
Version table:
*** 10.1ubuntu2.10 500
500 http://
100 /var/lib/
10.1ubuntu2.9 500
ubuntu@ bionic- motd-news- no-uptime: ~$ grep uptime /etc/update- motd.d/ 50-motd- news bionic- motd-news- no-uptime: ~$
ubuntu@
Bionic verification succeeded.