mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
4 lines
161 B
Bash
Executable file
4 lines
161 B
Bash
Executable file
#!/bin/sh
|
|
# $Id: external-ip.sh,v 1.2 2017/11/02 15:33:09 nanard Exp $
|
|
# (c) 2010 Reuben Hawkins
|
|
upnpc -s | sed -n -e 's/^ExternalIPAddress = \([0-9.]*\)$/\1/p'
|