libmicrohttpd: build parallel
[feed/packages.git] / net / gnunet / files / gnunet.defaults
1 #!/bin/sh
2
3 [ -e /etc/config/gnunet ] && exit 0
4
5 touch /etc/config/gnunet
6
7 uci set gnunet.datastore=gnunet-config
8 uci set gnunet.datastore.DATABASE=heap
9 uci set gnunet.datastore.QUOTA="4 MB"
10
11 uci set gnunet.fs=gnunet-config
12 uci set gnunet.fs.CONTENT_PUSHING=NO
13 uci set gnunet.fs.CONTENT_CACHING=NO
14
15 # limit dhtcache memory usage to 4 MB
16 uci set gnunet.dhtcache=gnunet-config
17 uci set gnunet.dhtcache.QUOTA="4 MB"
18
19 # enable dns2gns
20 uci set gnunet.dns2gns=gnunet-config
21 uci set gnunet.dns2gns.AUTOSTART=YES
22 uci set gnunet.dns2gns.FORCESTART=YES
23
24 # enable v4/v6 protocol translation for EXIT/VPN
25 uci set gnunet.pt=gnunet-config
26 uci set gnunet.pt.FORCESTART=YES
27
28 uci set gnunet.exit=gnunet-config
29 uci set gnunet.exit.AUTOSTART=YES
30 uci set gnunet.exit.FORCESTART=YES
31
32 # increase WORKDELAY to something more sane on small CPUs
33 uci set gnunet.nse=gnunet-config
34 uci set gnunet.nse.WORKDELAY='500 ms'
35
36 uci commit gnunet