snow Posted July 27 Posted July 27 Hi there, Orange Pi 5 user here, when I ssh into my Armbian installation remotely, it shows a nice welcome screen, with a bunch of facts like Uptime, Load, Temperature and so on I tried typing 'motd' but it says no command found I have 2 requests 1 - how do I display this manually, again, from a terminal? 2- is there a way to have this show when I open a terminal locally? it's useful to me thanks! 0 Quote
Werner Posted July 28 Posted July 28 To 1.) it is only displayed if the first boot assistant is not cancelled before user creation. To 2.) You should find some clues here: https://github.com/armbian/build/tree/main/packages/bsp/common/etc/update-motd.d 0 Quote
Solution laibsch Posted July 28 Solution Posted July 28 The answer to your question is "sudo run-parts /etc/update-motd.d/", @snow To have that information displayed every time you login, you might want to check ~/.profile or ~/.bash* files if you use bash as your shell. I am not sure what problem you might run into since as you can see above the run-parts command needs root. Do some testing, with and without root. 0 Quote
snow Posted July 28 Author Posted July 28 Thank you @laibsch I unfortunately don't understand @Werner's response, but yours is very helpful, thank you very much! I will look at trying to add that to my .bashrc or .zshrc I suppose! cheers 1 Quote
Werner Posted July 28 Posted July 28 Ah, I misunderstood. I thought does not appear at all anymore but the question was about manual call. Has been answered properly already. 1 Quote
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.