summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-05-29 12:54:50 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-05-29 12:54:50 +0000
commitb72f0bc21955d6dd1a3a2c581b0e58828dc624b7 (patch)
tree45e66180f943f79af404dbddeb76c53468f29cb0
parent34b3d8a4025bc1c8ace4b1035597970ddf9d8a8d (diff)
added dynamic service example
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@264 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rwxr-xr-xdynsrv.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dynsrv.sh b/dynsrv.sh
new file mode 100755
index 0000000..be37601
--- /dev/null
+++ b/dynsrv.sh
@@ -0,0 +1,2 @@
+#! /bin/sh
+host -t srv _radsec._tcp.$1|cut -d\ -f8