snow Posted 18 hours ago Posted 18 hours ago 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 13 hours ago Posted 13 hours ago 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 3 hours ago Solution Posted 3 hours ago 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 1 hour ago Author Posted 1 hour ago 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 0 Quote
Werner Posted 1 hour ago Posted 1 hour ago Ah, I misunderstood. I thought does not appear at all anymore but the question was about manual call. Has been answered properly already. 0 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.