To get a quick overview over the system status, I created a shell script that is run as “message of the day” (motd) to be shown on login or on demand.
This script will run as root, so please check it before blindly trusting me.
$ sudo apt-get install jq net-tools $ cd /home/admin/download/ $ wget https://raw.githubusercontent.com/Stadicus/RaspiBolt/master/resources/20-raspibolt-welcome # check script & exit $ nano 20-raspibolt-welcome # delete existing welcome scripts and install $ sudo mv /etc/update-motd.d /etc/update-motd.d.bak $ sudo mkdir /etc/update-motd.d $ sudo cp 20-raspibolt-welcome /etc/update-motd.d/ $ sudo chmod +x /etc/update-motd.d/20-raspibolt-welcome $ sudo ln -s /etc/update-motd.d/20-raspibolt-welcome /usr/local/bin/raspibolt
In case the script runs into problems, it could theoretically prevent you from logging in. We therefore disable all motd execution for the “root” user, so you will always be able to login as “root” to disable it.
$ sudo su $ touch /root/.hushlogin $ exit
You can now start the script with
sudo raspibolt and it is shown every time you log in.
« Back: Bonus guides