jq ARG passing

This commit is contained in:
qo-op 2020-11-17 02:01:40 +01:00
parent 23e30e1832
commit 423f989471
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ echo "Configure IPFS: copy the lines above in your console"
echo "then run jq commands and make your IPFS NODE https://Cesium.app compatible"
echo " -> Read your Cesium messages to find how to Bootstrap your node"
echo
echo "jq '.Identity.PeerID=\"\$PeerID\"' ~/.ipfs/config"
echo "jq '.Identity.PrivKey=\"\$PrivKey\"' ~/.ipfs/config"
echo "jq -r --arg PeerID \"$PeerID\" '.Identity.PeerID=$PeerID' ~/.ipfs/config"
echo "jq -r --arg PrivKey \"$PrivKey\" '.Identity.PrivKey=$PrivKey' ~/.ipfs/config"
echo ""
rm -f /tmp/secret.dunikey
}