2016-10-12 23:40:56 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
uci -q get gnunet.dhtcache || uci set gnunet.dhtcache=gnunet-config
|
|
|
|
|
|
|
|
uci -q batch <<EOF
|
|
|
|
set gnunet.dhtcache.DATABASE=postgres
|
2021-10-26 09:44:36 +00:00
|
|
|
set gnunet.datacache_postgres=gnunet-config
|
|
|
|
set gnunet.datacache_postgres.CONFIG=postgres://gnunet@%2Ftmp%2Frun%2Fpostgresql/gnunet
|
2016-10-12 23:40:56 +00:00
|
|
|
commit gnunet
|
|
|
|
EOF
|