blob: 51660527fc0f64c33effca05d3a57a675f55b744 [file] [log] [blame]
#!/bin/sh
uci -q get gnunet.dhtcache || uci set gnunet.dhtcache=gnunet-config
uci -q batch <<EOF
del gnunet.datacache_sqlite
set gnunet.datacache_sqlite=gnunet-config
set gnunet.datacache_sqlite.FILENAME=/var/run/gnunet/datacache.sqlite
set gnunet.dhtcache.DATABASE=sqlite
commit gnunet
EOF