gnunet-dhtcache-sqlite.defaults 298 B

1234567891011
  1. #!/bin/sh
  2. uci -q get gnunet.dhtcache || uci set gnunet.dhtcache=gnunet-config
  3. uci -q batch <<EOF
  4. del gnunet.datacache_sqlite
  5. set gnunet.datacache_sqlite=gnunet-config
  6. set gnunet.datacache_sqlite.FILENAME=/var/run/gnunet/datacache.sqlite
  7. set gnunet.dhtcache.DATABASE=sqlite
  8. commit gnunet
  9. EOF