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.

14 lines
538 B

  1. #!/bin/sh
  2. uci -q get gnunet.namestore || uci set gnunet.namestore=gnunet-config
  3. uci -q get gnunet.namecache || uci set gnunet.namecache=gnunet-config
  4. uci -q batch <<EOF
  5. set gnunet.namestore.DATABASE=postgres
  6. set gnunet.namecache.DATABASE=postgres
  7. set gnunet.namestore_postgres=gnunet-config
  8. set gnunet.namestore_postgres.CONFIG=postgres://gnunet@%2Ftmp%2Frun%2Fpostgresql/gnunet
  9. set gnunet.namecache_postgres=gnunet-config
  10. set gnunet.namecache_postgres.CONFIG=postgres://gnunet@%2Ftmp%2Frun%2Fpostgresql/gnunet
  11. commit gnunet
  12. EOF