Return to external-ip.sh CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpc |
1.1 misho 1: #!/bin/sh 1.1.1.2 ! misho 2: # $Id: external-ip.sh,v 1.2 2017/11/02 15:33:09 nanard Exp $ 1.1 misho 3: # (c) 2010 Reuben Hawkins 1.1.1.2 ! misho 4: upnpc -s | sed -n -e 's/^ExternalIPAddress = \([0-9.]*\)$/\1/p'