1#!/bin/sh 2# $Id: external-ip.sh,v 1.1 2010/08/05 12:57:41 nanard Exp $ 3# (c) 2010 Reuben Hawkins 4upnpc -s | grep ExternalIPAddress | sed 's/[^0-9\.]//g' 5