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
287 B

  1. #!/bin/sh
  2. uci -q get gnunet.peerstore || uci set gnunet.peerstore=gnunet-config
  3. uci -q batch <<EOF
  4. del gnunet.peerstore_flat
  5. set gnunet.peerstore_flat=gnunet-config
  6. set gnunet.peerstore_flat.FILENAME=/etc/gnunet/peerstore.flat
  7. set gnunet.peerstore.DATABASE=flat
  8. commit gnunet
  9. EOF