From 458aa675d0d15b223b1ffaf73ed2a0efff092dea Mon Sep 17 00:00:00 2001 From: qo-op Date: Sat, 9 May 2020 17:04:29 +0200 Subject: [PATCH] ~/.zen/secret.astroport.key --- g1sms/init_keys.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/g1sms/init_keys.sh b/g1sms/init_keys.sh index 393a25f..a43704b 100755 --- a/g1sms/init_keys.sh +++ b/g1sms/init_keys.sh @@ -46,6 +46,7 @@ if [[ ! -f ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_uidna ]]; then [[ -f ~/.zen/secret.astroport.key ]] \ && [[ ! $(cat ~/.zen/secret.astroport.key | grep -F 'NODE_UIDNA' )]] \ + && chmod 600 ~/.zen/secret.astroport.key && echo "NODE_UIDNA=$NODE_UIDNA" >> ~/.zen/secret.astroport.key source ~/.zen/secret.astroport.key