gnunet-gns-flat.defaults 528 B

12345678910111213141516
  1. #!/bin/sh
  2. uci -q get gnunet.namestore || uci set gnunet.namestore=gnunet-config
  3. uci -q get gnunet.namecache || uci set gnunet.namecache=gnunet-config
  4. uci -q batch <<EOF
  5. del gnunet.namestore_flat
  6. set gnunet.namestore_flat=gnunet-config
  7. set gnunet.namestore_flat.FILENAME=/etc/gnunet/namestore.flat
  8. set gnunet.namestore.DATABASE=flat
  9. del gnunet.namecache_flat
  10. set gnunet.namecache_flat=gnunet-config
  11. set gnunet.namecache_flat.FILENAME=/var/run/gnunet/namecache.flat
  12. set gnunet.namecache.DATABASE=flat
  13. commit gnunet
  14. EOF