#!/bin/sh

uci -q get gnunet.namestore || uci set gnunet.namestore=gnunet-config
uci -q get gnunet.namecache || uci set gnunet.namecache=gnunet-config

uci -q batch <<EOF
	set gnunet.namestore.DATABASE=postgres
	set gnunet.namecache.DATABASE=postgres
	commit gnunet
EOF