dynsrv.sh 115 Bytes
Newer Older
venaas's avatar
venaas committed
1
#! /bin/sh
2 3 4 5
host=`host -t srv _radsec._tcp.$1|cut -d\  -f8`
echo "server $1-$host {"
echo "    host $host"
echo "}"