Skip to content

Commit

Permalink
correct comment about symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWestgate committed May 26, 2024
1 parent 5d10774 commit 222725f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bails/.local/bin/install-core
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,8 @@ link_dotfiles
[ -e $DATA_DIR/wallets ] || mkdir -p $DATA_DIR/wallets # TODO: this can be replaced by creating the symlink in panic mode solution
ln --symbolic --force /media/"$USER" $DATA_DIR/wallets # links media mount directory to wallets folder for easier loading of watch encrypted or external media wallets
chmod -w $DATA_DIR/wallets # TODO: this can be deleted when panic mode is added
ln --symbolic --force {"$HOME"/.bitcoin,$DATA_DIR}/debug.log # links debug.log to tmpfs so logs won't persist restart
ln --symbolic $DOTFILES/.bitcoin/{README.md,bitcoin.conf} $DATA_DIR # This can't be persisted by dotfiles so an autostart remakes it.

ln --symbolic --force {"$HOME"/.bitcoin,$DATA_DIR}/debug.log # symlinks to tmpfs debug.log
ln --symbolic $DOTFILES/.bitcoin/{README.md,bitcoin.conf} $DATA_DIR # symlinks to dotfiles/.bitcoin
# Bring chainparams.cpp download to foreground, set assumed chainstate & blockchain size, configure prune
ps -p $get_size &>/dev/null && fg %"$(jobs -l | grep $get_size | cut -f1 -d' ' | tr -c -d '[:digit:]')"
assumed_chain_state_size=$(grep --max-count=1 m_assumed_chain_state_size "$DOWNLOAD_DIR"/chainparams.cpp | sed 's/[^0-9]*//g')
Expand Down

0 comments on commit 222725f

Please sign in to comment.