2016-09-26 06:59:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
uci -q get gnunet.datastore || uci set gnunet.datastore=gnunet-config
|
|
|
|
|
|
|
|
uci -q batch <<EOF
|
|
|
|
set gnunet.datastore.DATABASE=postgres
|
2021-10-26 09:44:36 +00:00
|
|
|
set gnunet.datastore_postgres=gnunet-config
|
|
|
|
set gnunet.datastore_postgres.CONFIG=postgres://gnunet@%2Ftmp%2Frun%2Fpostgresql/gnunet
|
2016-09-26 06:59:09 +00:00
|
|
|
commit gnunet
|
|
|
|
EOF
|