From 7bd414dd1b0bee7bb6858717bbd9a4d837dcdbc0 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 23 Jul 2024 14:15:47 +0300 Subject: also recover selected key from settings --- config.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.sh') diff --git a/config.sh b/config.sh index a4a5aef..83ef05d 100755 --- a/config.sh +++ b/config.sh @@ -22,10 +22,11 @@ export AK_ZLIST="$AK_WORKDIR/zlist" export AK_ZLATEST="$AK_WORKDIR/zlatest" export AK_LOGSFILE="$AK_WORKDIR/logs" export AK_GPGHOME="$AK_WORKDIR/keyring" -export AK_FINGERPRINT="$(cat $AK_WORKDIR/selected_key)" export AK_MINEDBLOCKSDIR="$AK_WORKDIR/mined_blocks" export AK_ZBLOCKSFILE="$AK_WORKDIR/zBlocksFile" export AK_ZPAIRSFILE="$AK_WORKDIR/pairsFile" export AK_ZPEERSFILE="$AK_WORKDIR/peersFile" export AK_CACHEDIR="$AK_WORKDIR/cache" +source $AK_LIBDIR/_ak_settings +export AK_FINGERPRINT="$(_ak_settings_get gpg.fingerprint)" -- cgit v1.2.3