Wrap around dhtcache vs. datacache confusion which prevented the datacache service from starting. While at it, sanetize default package selection. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
10 lines
267 B
Bash
10 lines
267 B
Bash
#!/bin/sh
|
|
|
|
uci -q get gnunet.datastore || uci set gnunet.datastore=gnunet-config
|
|
uci -q get gnunet.dhtcache || uci set gnunet.dhtcache=gnunet-config
|
|
|
|
uci -q batch <<EOF
|
|
set gnunet.datastore.DATABASE=postgres
|
|
set gnunet.dhtcache.DATABASE=postgres
|
|
commit gnunet
|
|
EOF
|