gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r29016 - gnunet/contrib


From: gnunet
Subject: [GNUnet-SVN] r29016 - gnunet/contrib
Date: Thu, 5 Sep 2013 13:15:34 +0200

Author: grothoff
Date: 2013-09-05 13:15:34 +0200 (Thu, 05 Sep 2013)
New Revision: 29016

Modified:
   gnunet/contrib/gnunet-gns-import.sh
Log:
-update default zone initialization (#3009)

Modified: gnunet/contrib/gnunet-gns-import.sh
===================================================================
--- gnunet/contrib/gnunet-gns-import.sh 2013-09-05 11:09:18 UTC (rev 29015)
+++ gnunet/contrib/gnunet-gns-import.sh 2013-09-05 11:15:34 UTC (rev 29016)
@@ -1,4 +1,25 @@
 #!/bin/sh
 # This shell-script will import some GNS authorities into your GNS
 # namestore.
-gnunet-namestore -a -e never -n fcfs -p -t PKEY -V 
72QC35CO20UJN1E91KPJFNT9TG4CLKAPB4VK9S3Q758S9MLBRKOG
+#
+# By default, we create three GNS zones:
+gnunet-identity -C master-zone
+gnunet-identity -C short-zone
+gnunet-identity -C private-zone
+
+# Integrate those with the respective subsystems.
+gnunet-identity -e short-zone -s gns-short
+gnunet-identity -e master-zone -s gns-master
+gnunet-identity -e private-zone -s gns-private
+
+MASTER=`gnunet-identity -d | grep master-zone | awk '{print $3}`
+SHORT=`gnunet-identity -d | grep short-zone | awk '{print $3}`
+PRIVATE=`gnunet-identity -d | grep private-zone | awk '{print $3}`
+
+# Link short and private zones into master zone
+gnunet-namestore -z master-zone -a -e never -n private -p -t PKEY -V $PRIVATE 
+gnunet-namestore -z master-zone -a -e never -n short -p -t PKEY -V $SHORT 
+
+# Link GNUnet's FCFS zone into master zone
+gnunet-namestore -z master-zone -a -e never -n fcfs -p -t PKEY -V 
72QC35CO20UJN1E91KPJFNT9TG4CLKAPB4VK9S3Q758S9MLBRKOG
+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]