export PATH="$PATH:/usr/local/bin:/usr/sbin:/sbin:/opt/rocm/bin:/opt/rocm/sbin"

# Print web UI URLs on the local console at login.
if [ -z "${SSH_CONNECTION:-}" ] \
    && [ -z "${SSH_TTY:-}" ]; then
    echo "Bee live environment ready."
    echo ""
    echo "  Web UI (local):  http://localhost/"
    # Print IP addresses for remote access
    _ips=$(ip -4 addr show scope global 2>/dev/null | awk '/inet /{print $2}' | cut -d/ -f1)
    for _ip in $_ips; do
        echo "  Web UI (remote): http://$_ip/"
    done
    unset _ips _ip
    echo ""
    echo "  Network setup: netconf"
    echo "  Kernel logs:   Alt+F2  |  Extra shell: Alt+F3"
fi
