You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
297 B

#!/bin/sh
uci -q get gnunet.peerstore || uci set gnunet.peerstore=gnunet-config
uci -q batch <<EOF
del gnunet.peerstore_sqlite
set gnunet.peerstore_sqlite=gnunet-config
set gnunet.peerstore_sqlite.FILENAME=/etc/gnunet/peerstore.sqlite
set gnunet.peerstore.DATABASE=sqlite
commit gnunet
EOF