diff options
Diffstat (limited to 'bin/checkip')
-rwxr-xr-x | bin/checkip | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/checkip b/bin/checkip new file mode 100755 index 0000000..f7f2f4c --- /dev/null +++ b/bin/checkip @@ -0,0 +1,3 @@ +#!/bin/bash +ip=`curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z/<> :]//g'` +echo "$ip" |