blob: 8caeb8295dc959f2fe5394cab8a78fe20ad3f521 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#!/bin/sh
2
3uci -q get gnunet.datastore || uci set gnunet.datastore=gnunet-config
4
5uci -q batch <<EOF
6 set gnunet.datastore.DATABASE=postgres
7 set gnunet.datastore_postgres=gnunet-config
8 set gnunet.datastore_postgres.CONFIG=postgres://gnunet@%2Ftmp%2Frun%2Fpostgresql/gnunet
9 commit gnunet
10EOF