What generates the login text displayed when you ssh into Ubuntu MATE Pi4?

When you ssh into the pi4 you get this -
I want to know how it gets the temperature and system load
I know it is not /etc/motd so what creates this - nothing stands out in /etc/ssd to say what does this or how to change it.
for example the help.ubuntu com does not contain any MATE documents
I had to delete punctuation on the https lines to post here.

Blockquote

@127.0.0.1's password:
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-1012-raspi armv7l)

  • Documentation: https help ubuntu com
  • Management: https landscape canonical com
  • Support: https ubuntu com/advantage

System information as of Sun Jun 28 15:49:46 CDT 2020

System load: 0.4 Temperature: 42.8 C
Usage of /: 17.3% of 29.07GB Processes: 257
Memory usage: 19% Users logged in: 1
Swap usage: 0% IPv4 address for wlan0: 192.168.20.171

  • "If you've been waiting for the perfect Kubernetes dev solution for
    macOS, the wait is over. Learn how to install Microk8s on macOS."

https www techrepublic com/article/how-to-install-microk8s-on-macos/

0 updates can be installed immediately.
0 of these updates are security updates.

Last login: Sun Jun 28 12:32:14 2020 from 192.168.20.241

Those scripts can be found here:

/etc/update-motd.d

Take a look at this script:

50-landscape-sysinfo -> /usr/share/landscape/landscape-sysinfo.wrapper

2 Likes

Thank you - I got rid of the bad https entries in 10-help-text