mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
gnunet-secushare: auto-configure database backend
Import uci-defaults scripts to auto-set psycstore database backend. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q get gnunet.psycstore || uci set gnunet.psycstore=gnunet-config
|
||||
|
||||
uci -q batch <<EOF
|
||||
set gnunet.psycstore.DATABASE=postgres
|
||||
commit gnunet
|
||||
EOF
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q get gnunet.psycstore || uci set gnunet.psycstore=gnunet-config
|
||||
|
||||
uci -q batch <<EOF
|
||||
del gnunet.psycstore_sqlite
|
||||
set gnunet.psycstore_sqlite=gnunet-config
|
||||
set gnunet.psycstore_sqlite.FILENAME=/etc/gnunet/psycstore.sqlite
|
||||
set gnunet.psycstore.DATABASE=sqlite
|
||||
commit gnunet
|
||||
EOF
|
||||
Reference in New Issue
Block a user