make all bash

This commit is contained in:
rootzoll 2018-12-05 00:07:58 +01:00
parent af398d3357
commit 9f188934f5
13 changed files with 13 additions and 14 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/bash
/usr/bin/env python3 infoblitzd.py $@ /usr/bin/env python3 infoblitzd.py $@

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "" echo ""
# load network # load network

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
_temp="./download/dialog.$$" _temp="./download/dialog.$$"
# load network # load network

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "" echo ""
echo "*** Checking if HDD is connected ***" echo "*** Checking if HDD is connected ***"
sleep 5 sleep 5

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "" echo ""
# load network # load network

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# load network # load network
network=`cat .network` network=`cat .network`

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# load network # load network
network=`cat .network` network=`cat .network`

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "" echo ""
# load network # load network

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "" echo ""
# load network # load network

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "" echo ""
# add bonus scripts # add bonus scripts

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# load raspiblitz config data (with backup from old config) # load raspiblitz config data (with backup from old config)
source /mnt/hdd/raspiblitz.conf 2>/dev/null source /mnt/hdd/raspiblitz.conf 2>/dev/null
@ -18,7 +18,6 @@ echo "You may wait some seconds until you get asked for password."
echo "****************************************************************************" echo "****************************************************************************"
while : while :
do do
chain="$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')"
sudo -u bitcoin /usr/local/bin/lncli --chain=${network} unlock sudo -u bitcoin /usr/local/bin/lncli --chain=${network} unlock
sleep 4 sleep 4
locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep -c unlock) locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep -c unlock)

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
_temp="./download/dialog.$$" _temp="./download/dialog.$$"
_error="./.error.out" _error="./.error.out"

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "" echo ""
# *** BITCOIN *** # *** BITCOIN ***