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