Vodalex Posted April 4, 2023 Share Posted April 4, 2023 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? 0 Quote Link to comment Share on other sites More sharing options...
armbyop Posted May 19, 2023 Share Posted May 19, 2023 Hi, did you ever get this worked out? I think you may have to edit /etc/profile.d according to this guide here. I haven't started working on it yet but I'm looking forward to it as a little project! 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted May 20, 2023 Share Posted May 20, 2023 FYI. If anyone wants to expand defaults for better customisation, sources are located here: https://github.com/armbian/build/tree/main/packages/bsp/common/etc/update-motd.d 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.