create _xbian.zuid

This commit is contained in:
fred 2021-08-06 01:45:34 +02:00
parent b93c95fbde
commit 2af462cec4
1 changed files with 1 additions and 2 deletions

View File

@ -25,8 +25,7 @@ IPFSNODEID=$(ipfs --timeout=20s id -f='<id>\n')
[[ ! -f ~/.zen/secret.dunikey ]] && echo "Missing ~/.zen/secret.dunikey. EXIT" && exit 1
G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
[[ $G1PUB == "" ]] && echo "ERROR G1PUB empty !! EXIT" && exit 1
[[ -f ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid ]] && AXID=$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid)
[[ -f ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid ]] && AXID=$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid) || hostname -s > ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid
########################################################################
# CREATNG IPFS LOCAL REPOSITORY for Node G1 Identity : G1SSB