wrolpi/etc/raspberrypios/motd/30-wrolpi.motd
Roland 24a0646f99
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Updating MOTD to suggest ip addresses on login.
2025-08-18 11:33:44 -06:00

12 lines
336 B
Bash
Executable file

#!/bin/sh
ip_address=$(ip addr show eth0 | grep -oP 'inet \K[\d.]+')
echo " Welcome to your WROLPi!"
echo ""
echo " Run the help script to find potential problems:"
echo " /opt/wrolpi/help.sh"
echo ""
echo " Help documentation is available: https://${ip_address}:8086"
echo " or in this directory /opt/wrolpi-help/docs"
echo ""