mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
add script file
This commit is contained in:
17
home.admin/67addAdditionalScripts.sh
Executable file
17
home.admin/67addAdditionalScripts.sh
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
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
|
||||||
|
echo "Done. Let's try them out"
|
||||||
|
cd
|
||||||
|
rm -r /home/admin/tmpScriptDL
|
||||||
|
echo "Output of lnbalance:"
|
||||||
|
lnbalance
|
||||||
|
echo "Output of lnchannels:"
|
||||||
|
lnchannels
|
Reference in New Issue
Block a user