b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | uci -q get gnunet.dhtcache || uci set gnunet.dhtcache=gnunet-config | ||||
4 | |||||
5 | uci -q batch <<EOF | ||||
6 | set gnunet.dhtcache.DATABASE=postgres | ||||
7 | set gnunet.datacache_postgres=gnunet-config | ||||
8 | set gnunet.datacache_postgres.CONFIG=postgres://gnunet@%2Ftmp%2Frun%2Fpostgresql/gnunet | ||||
9 | commit gnunet | ||||
10 | EOF |