aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/checkip3
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"