1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-27 11:25:26 +02:00
openwrt-packages/net/gnunet/files/gnunet-peerstore-flat.defaults
Daniel Golle 85b5a6c485 gnunet: update to SVN r38014 and improve packaging
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-26 10:14:29 +02:00

12 lines
287 B
Bash

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