scripts/network/upnp_ip_address.sh

3 lines
57 B
Bash
Executable File

#!/bin/sh
upnpc -s | grep ^ExternalIPAddress | cut -c21-