diff options
Diffstat (limited to 'dynsrv.sh')
-rwxr-xr-x | dynsrv.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,2 +1,5 @@ #! /bin/sh -host -t srv _radsec._tcp.$1|cut -d\ -f8 +host=`host -t srv _radsec._tcp.$1|cut -d\ -f8` +echo "server $1-$host {" +echo " host $host" +echo "}" |