From b7854c23b561215cf551da399a811c7f6d486534 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 6 Dec 2020 02:04:54 +0100 Subject: [PATCH] update_bashrc.sh --- .install/update_bashrc.sh | 1 + ISOconfig.sh | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) 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