Jump to content

Customizing SSH Welcome screen


Vodalex

Recommended Posts

Hello guys!

I find it very convinient to see the temperature of the NVME drive installed while being logged on via SSH.

How can I add the temperature of the drive right under the temperature of the cpu?

I added a line: "echo -e "NVMe Drive Temperature: \033[32m$(sudo nvme smart-log /dev/nvme0n1 | grep temperature | sed 's/.*: //;s/ C//')°C\033[0m"" to the file /etc/update-motd.d/10-armbian-header

What is the best way to do it?

nvme.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines