the displays from the dietpi banner when logging in via ssh are very informative.
I would welcome it as a “nice to have” if there could also be a selection for displaying the OS and the kernel.
Perhaps there will be an opportunity to integrate this at some point.
Of course you can overload dietpi-banner, but there is the possibility to choose.
─────────────────────────────────────────────────────
DietPi v9.6.1 : Update available
─────────────────────────────────────────────────────
- Device model : RPi 4 Model B (armv7l)
- Uptime : up 18 hours, 7 minutes
- CPU temp : 43 °C / 109 °F : Optimal temperature
- LAN IP : 192.168.0.11 (eth0)
- Info Text : Kernel: 6.6.31+rpt-rpi-v7l, OS Release: 12.7
─────────────────────────────────────────────────────
dietpi-update : Run now to update DietPi from v9.6.1 to v9.7.1
root@DietPiProd:~#
You could use option 10 and add something like
echo "Kernel: $(uname -r), OS Release: $(cat /etc/debian_version)"
Exactly!
Ok, that would work if I hadn’t already filled it with the weather information for my home town.
Perhaps there will be an opportunity to add a further selection.
─────────────────────────────────────────────────────
DietPi v9.6.1 : Update available
─────────────────────────────────────────────────────
- Device model : RPi 4 Model B (armv7l)
- Uptime : up 20 hours, 1 minute
- CPU temp : 44 °C / 111 °F : Optimal temperature
- LAN IP : 192.168.0.11 (eth0)
- Info Text : What so ever
Kernel: 6.6.31+rpt-rpi-v7l
OS Release: 12.7
─────────────────────────────────────────────────────
dietpi-update : Run now to update DietPi from v9.6.1 to v9.7.1
root@DietPiProd:~#
like this
echo -e "What so ever\n Kernel: $(uname -r)\n OS Release: $(cat /etc/debian_version)"