From 4ab06204c651890facf2ed62a739283993b1a0f0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 5 Nov 2013 22:19:29 +0100 Subject: Added checkip and minor fixes --- bin/checkip | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/checkip (limited to 'bin/checkip') 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" -- cgit v1.2.3-70-g09d2