diff options
author | Nick <nick@somerandomnick.ano> | 2011-11-29 03:08:57 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2011-11-29 03:08:57 +0000 |
commit | 59fa63a877b667c7f13c83de48c18d46d3ae3ad1 (patch) | |
tree | 96bb8b88367bdaca378933ddfa03fb7b56b5d422 /configure | |
parent | 7965217d61e03d84a51f8ae284c6a9fbe655134c (diff) | |
download | resdb-59fa63a877b667c7f13c83de48c18d46d3ae3ad1.tar.gz resdb-59fa63a877b667c7f13c83de48c18d46d3ae3ad1.zip |
Now ./configure tries to help for peer2anonet --configure-dns :-)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh -vars="gitd_ip gitd_basepath git_name git_email tinydns_config tinydns__rootsrvrname tinydns__rootsrvrip tinydns__tldsrvrname tinydns__tldsrvrip" +vars="gitd_ip gitd_basepath git_name git_email tinydns_config tinydns__rootsrvrname tinydns__rootsrvrip tinydns__tldsrvrname tinydns__tldsrvrip tinydns__srvrip tinydns__srvrname" echo "Welcome to the resdb configurator!" >&2 echo >&2 @@ -32,6 +32,12 @@ fi if [ x"$tinydns__tldsrvrip" = x ]; then tinydns__tldsrvrip="1.0.27.37" fi +if [ x"$tinydns__srvrname" = x ]; then + tinydns__srvrname="uz5z6spsd4jsd2k984wuzknr13gwjc630gmvtcv4bmpsrb04c179h1.ns.somerandomnick.ano" +fi +if [ x"$tinydns__srvrip" = x ]; then + tinydns__srvrip="1.0.27.86" +fi echo "Please enter the IP address you'd like gitd to listen on." >&2 echo "(Default: $gitd_ip)" >&2 @@ -102,6 +108,22 @@ if [ x"$tinydns_config" = xy ]; then if [ x"$new_tinydns__tldsrvrip" != x ]; then tinydns__tldsrvrip="$new_tinydns__tldsrvrip" fi + + echo "Please enter the hostname of your nameserver." >&2 + echo "(Default: $tinydns__srvrname)" >&2 + echo -n "SrvName? " >&2 + read new_tinydns__srvrname + if [ x"$new_tinydns__srvrname" != x ]; then + tinydns__srvrname="$new_tinydns__srvrname" + fi + + echo "Please enter the IP address of your nameserver." >&2 + echo "(Default: $tinydns__srvrip)" >&2 + echo -n "SrvIP? " >&2 + read new_tinydns__srvrip + if [ x"$new_tinydns__srvrip" != x ]; then + tinydns__srvrip="$new_tinydns__srvrip" + fi fi echo "Proposed configuration:" >&2 |