You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
693 B

  1. #!/bin/sh
  2. [ -e /etc/config/gnunet ] && exit 0
  3. touch /etc/config/gnunet
  4. uci batch <<EOF
  5. set gnunet.datastore=gnunet-config
  6. set gnunet.datastore.DATABASE=heap
  7. set gnunet.datastore.QUOTA="4 MB"
  8. set gnunet.fs=gnunet-config
  9. set gnunet.fs.CONTENT_PUSHING=NO
  10. set gnunet.fs.CONTENT_CACHING=NO
  11. set gnunet.dhtcache=gnunet-config
  12. set gnunet.dhtcache.QUOTA="4 MB"
  13. set gnunet.dns2gns=gnunet-config
  14. set gnunet.dns2gns.AUTOSTART=YES
  15. set gnunet.dns2gns.FORCESTART=YES
  16. set gnunet.pt=gnunet-config
  17. set gnunet.pt.FORCESTART=YES
  18. set gnunet.exit=gnunet-config
  19. set gnunet.exit.AUTOSTART=YES
  20. set gnunet.exit.FORCESTART=YES
  21. set gnunet.nse=gnunet-config
  22. set gnunet.nse.WORKDELAY='500 ms'
  23. commit gnunet
  24. EOF