aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-11-05 22:19:29 +0100
committerDavid Runge <david.runge@frqrec.com>2013-11-05 22:19:29 +0100
commit4ab06204c651890facf2ed62a739283993b1a0f0 (patch)
tree3f1b9dfadb149d9e9455e7df5756999d534555ae /bin
parentca390233e2bc8cb6a390fc28f3047c5d59eb9cd7 (diff)
downloaddotfiles-4ab06204c651890facf2ed62a739283993b1a0f0.tar.gz
dotfiles-4ab06204c651890facf2ed62a739283993b1a0f0.tar.bz2
dotfiles-4ab06204c651890facf2ed62a739283993b1a0f0.tar.xz
dotfiles-4ab06204c651890facf2ed62a739283993b1a0f0.zip
Added checkip and minor fixes
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"