summaryrefslogtreecommitdiff
path: root/bin/up1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/up1.sh')
-rwxr-xr-xbin/up1.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/up1.sh b/bin/up1.sh
deleted file mode 100755
index 17d88cc39..000000000
--- a/bin/up1.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-cd "`dirname $0`"
-if which curl &>/dev/null; then
- curl -s "http://$1/Network.xml?page=1&ip=" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
-elif which wget &>/dev/null; then
- wget -q -O - "http://$1/Network.xml?page=1&ip=" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
-else
- exit 1
-fi
-