You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
868 B

echo ""
echo "*** Adding: raspibolt_67_additional-scripts.md"
7 years ago
echo "Creating the command lnbalance as well as lnchannels which will give you a nicer output"
cd
6 years ago
cd /home/admin/assets
6 years ago
chmod +x lnbalance.sh
chmod +x lnchannels.sh
6 years ago
sudo cp lnbalance.sh /usr/local/bin/lnbalance
6 years ago
sudo cp lnchannels.sh /usr/local/bin/lnchannels
echo "OK"
6 years ago
mkdir /home/admin/tmpScriptDL
cd /home/admin/tmpScriptDL
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"
7 years ago
rm -r /home/admin/tmpScriptDL
6 years ago
cd