scripts/network/upnp_ip_address.sh

3 lines
57 B
Bash
Raw Normal View History

2020-03-01 13:02:34 +01:00
#!/bin/sh
upnpc -s | grep ^ExternalIPAddress | cut -c21-