mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-28 18:52:11 +01:00
parent
25b24ef445
commit
ef42bc653b
@ -21,8 +21,8 @@
|
|||||||
- Update: Channel Tools (chantools) v0.10.1 [details](https://github.com/guggero/chantools/releases/tag/v0.10.1)
|
- Update: Channel Tools (chantools) v0.10.1 [details](https://github.com/guggero/chantools/releases/tag/v0.10.1)
|
||||||
- Update: BTCPayServer v1.4.4 with UPDATE option [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.4.4)
|
- Update: BTCPayServer v1.4.4 with UPDATE option [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.4.4)
|
||||||
- Update: Electrum Server in Rust (electrs) v0.9.5 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#095-feb-4-2022)
|
- Update: Electrum Server in Rust (electrs) v0.9.5 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#095-feb-4-2022)
|
||||||
- Update: JoinMarket v0.9.4 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.4)
|
- Update: JoinMarket v0.9.5 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.5)
|
||||||
- Update: JoininBox v0.6.6 [details](https://github.com/openoms/joininbox/releases/tag/v0.6.6)
|
- Update: JoininBox v0.6.7 [details](https://github.com/openoms/joininbox/releases/tag/v0.6.7)
|
||||||
- Update: Thunderhub v0.13.6 [details](https://github.com/apotdevin/thunderhub/releases/tag/v0.13.6)
|
- Update: Thunderhub v0.13.6 [details](https://github.com/apotdevin/thunderhub/releases/tag/v0.13.6)
|
||||||
- Update: BTC-RPC-Explorer v3.3.0 [details](https://github.com/janoside/btc-rpc-explorer/blob/master/CHANGELOG.md#v330)
|
- Update: BTC-RPC-Explorer v3.3.0 [details](https://github.com/janoside/btc-rpc-explorer/blob/master/CHANGELOG.md#v330)
|
||||||
- Update: Specter Desktop 1.8.1 [details](https://github.com/cryptoadvance/specter-desktop/releases/tag/v1.8.1)
|
- Update: Specter Desktop 1.8.1 [details](https://github.com/cryptoadvance/specter-desktop/releases/tag/v1.8.1)
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
# https://github.com/openoms/bitcoin-tutorials/tree/master/joinmarket
|
# https://github.com/openoms/bitcoin-tutorials/tree/master/joinmarket
|
||||||
# https://github.com/openoms/joininbox
|
# https://github.com/openoms/joininbox
|
||||||
|
|
||||||
JBVERSION="v0.6.6" # with JoinMarket v0.9.4
|
JBVERSION="v0.6.7"
|
||||||
|
|
||||||
# command info
|
# command info
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
echo "JoinMarket install script to switch JoinMarket on or off"
|
echo "JoinMarket install script to switch JoinMarket on or off"
|
||||||
echo "sudo /home/admin/config.scrips/bonus.joinmarket.sh on|off"
|
echo "sudo /home/admin/config.scrips/bonus.joinmarket.sh on|off"
|
||||||
echo "Installs JoininBox $JBVERSION"
|
echo "Installs JoininBox $JBVERSION with JoinMarket v0.9.5"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -69,8 +69,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
adduser joinmarket sudo
|
adduser joinmarket sudo
|
||||||
# configure sudo for usage without password entry for the joinmarket user
|
# configure sudo for usage without password entry for the joinmarket user
|
||||||
echo 'joinmarket ALL=(ALL) NOPASSWD:ALL' | EDITOR='tee -a' visudo
|
echo 'joinmarket ALL=(ALL) NOPASSWD:ALL' | EDITOR='tee -a' visudo
|
||||||
|
|
||||||
# make a folder for authorized keys
|
# make a folder for authorized keys
|
||||||
sudo -u joinmarket mkdir -p /home/joinmarket/.ssh
|
sudo -u joinmarket mkdir -p /home/joinmarket/.ssh
|
||||||
chmod -R 700 /home/joinmarket/.ssh
|
chmod -R 700 /home/joinmarket/.ssh
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
echo "CookieAuthentication 1" | sudo tee -a /etc/tor/torrc
|
echo "CookieAuthentication 1" | sudo tee -a /etc/tor/torrc
|
||||||
sudo systemctl reload tor@default
|
sudo systemctl reload tor@default
|
||||||
fi
|
fi
|
||||||
if ! grep -Eq "^AllowOutboundLocalhost 1" /etc/tor/torsocks.conf; then
|
if ! grep -Eq "^AllowOutboundLocalhost 1" /etc/tor/torsocks.conf; then
|
||||||
echo "AllowOutboundLocalhost 1" | sudo tee -a /etc/tor/torsocks.conf
|
echo "AllowOutboundLocalhost 1" | sudo tee -a /etc/tor/torsocks.conf
|
||||||
sudo systemctl reload tor@default
|
sudo systemctl reload tor@default
|
||||||
fi
|
fi
|
||||||
@ -134,20 +134,20 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
sudo -u joinmarket sed -i "s/^runBehindTor=.*/runBehindTor=on/g" /home/joinmarket/joinin.conf
|
sudo -u joinmarket sed -i "s/^runBehindTor=.*/runBehindTor=on/g" /home/joinmarket/joinin.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "##########"
|
echo "##########"
|
||||||
echo "# Extras #"
|
echo "# Extras #"
|
||||||
echo "##########"
|
echo "##########"
|
||||||
echo
|
echo
|
||||||
# install a command-line fuzzy finder (https://github.com/junegunn/fzf)
|
# install a command-line fuzzy finder (https://github.com/junegunn/fzf)
|
||||||
apt -y install fzf
|
apt -y install fzf
|
||||||
bash -c "echo 'source /usr/share/doc/fzf/examples/key-bindings.bash' >> \
|
bash -c "echo 'source /usr/share/doc/fzf/examples/key-bindings.bash' >> \
|
||||||
/home/joinmarket/.bashrc"
|
/home/joinmarket/.bashrc"
|
||||||
|
|
||||||
# install tmux
|
# install tmux
|
||||||
apt -y install tmux
|
apt -y install tmux
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "#############"
|
echo "#############"
|
||||||
echo "# Autostart #"
|
echo "# Autostart #"
|
||||||
echo "#############"
|
echo "#############"
|
||||||
@ -175,8 +175,8 @@ fi
|
|||||||
else
|
else
|
||||||
echo "JoinMarket is already installed"
|
echo "JoinMarket is already installed"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/home/joinmarket/joinmarket-clientserver/jmvenv/bin/activate" ] ; then
|
if [ -f "/home/joinmarket/joinmarket-clientserver/jmvenv/bin/activate" ] ; then
|
||||||
# setting value in raspi blitz config
|
# setting value in raspi blitz config
|
||||||
/home/admin/config.scripts/blitz.conf.sh set joinmarket "on"
|
/home/admin/config.scripts/blitz.conf.sh set joinmarket "on"
|
||||||
@ -185,7 +185,7 @@ fi
|
|||||||
echo "# Start to use by logging in to the 'joinmarket' user with:"
|
echo "# Start to use by logging in to the 'joinmarket' user with:"
|
||||||
echo "# 'sudo su joinmarket' or use the shortcut 'jm'"
|
echo "# 'sudo su joinmarket' or use the shortcut 'jm'"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
else
|
else
|
||||||
echo " Failed to install JoinMarket"
|
echo " Failed to install JoinMarket"
|
||||||
exit 1
|
exit 1
|
||||||
@ -204,7 +204,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
|||||||
echo "# REMOVING JOINMARKET"
|
echo "# REMOVING JOINMARKET"
|
||||||
sudo userdel -rf joinmarket 2>/dev/null
|
sudo userdel -rf joinmarket 2>/dev/null
|
||||||
echo "# OK JoinMarket is removed"
|
echo "# OK JoinMarket is removed"
|
||||||
else
|
else
|
||||||
echo "JoinMarket is not installed."
|
echo "JoinMarket is not installed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user