This commit is contained in:
qo-op 2020-03-24 02:01:22 +01:00
parent a734b2918c
commit 88b6e403f1
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
scuttlebutt() {
echo -e "${c_yellow}Onboarding SCUTTLEBUTT...$c_"
where_is_ssb_installed=$(which ssb-server)
mkdir -p ~/.zen
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [[ ! $where_is_ssb_installed ]]; then
@ -111,9 +111,10 @@ done
EOF
fi
# REPLACE _ with $
sed -i s/_/\$/g ~/.zen/run-ssb_$nodename.sh
chmod 755 ~/.zen/run-ssb_$nodename.sh
# RUN ssb-server
~/.zen/run-ssb_$nodename.sh &
echo '