diff --git a/.install/update_bashrc.sh b/.install/update_bashrc.sh index 9c3d431..c541659 100755 --- a/.install/update_bashrc.sh +++ b/.install/update_bashrc.sh @@ -4,6 +4,7 @@ # Version: 2020.12.06 # License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) ######################################################################## +# update_bashrc.sh # Add $YOU $IPFSNODEID $G1PUB to ~/.bashrc source ~/.bashrc diff --git a/ISOconfig.sh b/ISOconfig.sh index 72dbfe4..133db4f 100755 --- a/ISOconfig.sh +++ b/ISOconfig.sh @@ -78,11 +78,7 @@ sudo service ipfs restart sleep 10 echo 'EXTEND ~/.bashrc' -echo "### ASTROPORT IDENTITY ###" >> ~/.bashrc -echo "export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)" >> ~/.bashrc -echo "export IPFSNODEID=$PeerID" >> ~/.bashrc -echo "export G1PUB=$g1pub" >> ~/.bashrc -source ~/.bashrc +~/.zen/astroport/.install/update_bashrc.sh mkdir -p ~/.zen/ipfs/.${PeerID}/G1SSB echo "" > ~/.zen/ipfs/.${PeerID}/tryme.addr