use mihi's template engine to set a random timestamper password so people dont need to think about that stuff

don't use the dyndns anymore for seeding (use dev.i2p.net/i2pdb)
This commit is contained in:
jrandom
2004-07-10 02:36:27 +00:00
committed by zzz
parent 3cfd28de43
commit 1669d174e1
5 changed files with 10 additions and 6 deletions
+4
View File
@@ -325,6 +325,10 @@ public abstract class Install {
_i2cpPort = ((Integer)_answers.get("i2cpPort")).intValue();
_inBPS = ((Integer)_answers.get("inBPS")).intValue();
_outBPS = ((Integer)_answers.get("outBPS")).intValue();
long num = new java.util.Random().nextLong();
if (num < 0)
num = 0 - num;
_answers.put("timestamperPassword", new Long(num));
}
private void useTemplate(String templateName, File destFile) {