summaryrefslogtreecommitdiff
path: root/dynsrv.sh
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-01-22 10:36:57 +0100
committerLinus Nordberg <linus@nordberg.se>2013-01-22 10:37:12 +0100
commit0be487506195d069c468fa71c32dc2cd50450363 (patch)
tree802dd53d5467ddb5942ab6209904e168aa59412e /dynsrv.sh
parent35311406413e0418112f7c295fee054a3506cbe8 (diff)
Clean up top dir.
Diffstat (limited to 'dynsrv.sh')
-rwxr-xr-xdynsrv.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/dynsrv.sh b/dynsrv.sh
deleted file mode 100755
index d0810d6..0000000
--- a/dynsrv.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-srv=`host -t srv _radsec._tcp.$1`
-# should do exit 1 or something if host command fails
-host=`echo $srv|cut -d\ -f8`
-port=`echo $srv|cut -d\ -f7`
-echo "server $1-$host {"
-echo " host $host"
-echo " port $port"
-echo "}"