Verifying uptime is present:
# 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"
In the updated version, uptime is gone:
base-files:
Installed: 11ubuntu5.2
Candidate: 11ubuntu5.2
Version table:
*** 11ubuntu5.2 500
500 http://br.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
Focal verification
Current focal version: br.archive. ubuntu. com/ubuntu focal-updates/main amd64 Packages
Version table:
*** 11ubuntu5.1 500
500 http://
Verifying uptime is present: motd.d/ 50-motd- news "uptime/ $up/$idle" "curl/$ curl_ver $lsb $platform $cpu $uptime cloud_id/$cloud_id"
# grep uptime /etc/update-
# Some messages may only be pertinent before or after some amount of uptime
read up idle < /proc/uptime
uptime=
USER_AGENT=
In the updated version, uptime is gone: br.archive. ubuntu. com/ubuntu focal-proposed/main amd64 Packages
base-files:
Installed: 11ubuntu5.2
Candidate: 11ubuntu5.2
Version table:
*** 11ubuntu5.2 500
500 http://
# grep uptime /etc/update- motd.d/ 50-motd- news
#
Focal verification succeeded.