2018-07-27 11:17:59 +02:00
|
|
|
# https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_67_additional-scripts.md
|
|
|
|
|
2018-07-29 21:43:16 +02:00
|
|
|
echo ""
|
2018-07-27 11:17:59 +02:00
|
|
|
echo "*** Adding: raspibolt_67_additional-scripts.md"
|
2018-07-25 11:41:08 +02:00
|
|
|
echo "Creating the command lnbalance as well as lnchannels which will give you a nicer output"
|
|
|
|
cd
|
|
|
|
mkdir /home/admin/tmpScriptDL
|
|
|
|
cd /home/admin/tmpScriptDL
|
|
|
|
wget https://raw.githubusercontent.com/Stadicus/guides/master/raspibolt/resources/lnbalance
|
|
|
|
wget https://raw.githubusercontent.com/Stadicus/guides/master/raspibolt/resources/lnchannels
|
|
|
|
chmod +x lnbalance
|
|
|
|
chmod +x lnchannels
|
|
|
|
sudo cp lnchannels /usr/local/bin
|
|
|
|
sudo cp lnbalance /usr/local/bin
|
2018-07-29 21:43:16 +02:00
|
|
|
echo "OK"
|
2018-08-17 10:38:00 +02:00
|
|
|
echo "installing bash completion for bitcoin-cli and lncli"
|
|
|
|
wget https://raw.githubusercontent.com/bitcoin/bitcoin/master/contrib/bitcoin-cli.bash-completion
|
|
|
|
wget https://raw.githubusercontent.com/lightningnetwork/lnd/master/contrib/lncli.bash-completion
|
|
|
|
sudo cp *.bash-completion /etc/bash_completion.d/
|
|
|
|
echo "OK - bash completion available after next login"
|
|
|
|
echo "type \"bitcoin-cli getblockch\", press [Tab] → bitcoin-cli getblockchaininfo"
|
2018-07-25 11:41:08 +02:00
|
|
|
cd
|
|
|
|
rm -r /home/admin/tmpScriptDL
|