~/.zen
This commit is contained in:
parent
a734b2918c
commit
88b6e403f1
|
@ -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 '
|
||||
|
|
Loading…
Reference in New Issue