summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorObee <obee@anomail.ano>2011-12-01 04:30:50 +0000
committerObee <obee@anomail.ano>2011-12-01 04:30:50 +0000
commit9225c2b010f5d7b84e63a772a9679ab8b1a2f3b9 (patch)
tree2e0889510daedb2fd2640adbd8339be4126453cb /configure
parentcce40b6ef5b27a573147a98d728b8bbd502754c4 (diff)
parent84c8ec4218fbf18341cca859ca1c1efe32ec7472 (diff)
downloadresdb-9225c2b010f5d7b84e63a772a9679ab8b1a2f3b9.tar.gz
resdb-9225c2b010f5d7b84e63a772a9679ab8b1a2f3b9.zip
Merge branch 'master' of git://1.0.27.102
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 23 insertions, 1 deletions
diff --git a/configure b/configure
index 5f013f3..de063f1 100755
--- a/configure
+++ b/configure
@@ -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