mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
25 lines
943 B
Bash
Executable File
25 lines
943 B
Bash
Executable File
echo ""
|
|
echo "*** Adding: raspibolt_67_additional-scripts.md"
|
|
echo "Creating the command lnbalance as well as lnchannels which will give you a nicer output"
|
|
cd
|
|
cd /home/admin/assets
|
|
chmod +x lnbalance.sh
|
|
chmod +x lnchannels.sh
|
|
chmod +x lnfwdreport.sh
|
|
sudo cp lnbalance.sh /usr/local/bin/lnbalance
|
|
sudo cp lnchannels.sh /usr/local/bin/lnchannels
|
|
sudo cp lnfwdreport.sh /usr/local/bin/lnfwdreport
|
|
echo "OK"
|
|
|
|
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"
|
|
rm -r /home/admin/tmpScriptDL
|
|
|
|
cd
|