raspiblitz/home.admin/91addBonus.sh

24 lines
919 B
Bash
Raw Normal View History

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
2019-06-13 14:12:00 +02:00
cd /home/admin/assets
2019-06-13 14:23:12 +02:00
chmod +x lnbalance.sh
chmod +x lnchannels.sh
2019-06-13 14:24:21 +02:00
sudo cp lnbalance.sh /usr/local/bin/lnbalance
2019-06-13 14:23:12 +02:00
sudo cp lnchannels.sh /usr/local/bin/lnchannels
sudo cp lnfwdreport.sh /usr/local/bin/lnfwdreport
2018-07-29 21:43:16 +02:00
echo "OK"
2019-06-13 14:12:00 +02:00
mkdir /home/admin/tmpScriptDL
cd /home/admin/tmpScriptDL
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
rm -r /home/admin/tmpScriptDL
2019-06-13 14:12:00 +02:00
cd