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 $@

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# load raspiblitz config data (with backup from old config)
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 "****************************************************************************"
while :
do
chain="$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')"
sudo -u bitcoin /usr/local/bin/lncli --chain=${network} unlock
sleep 4
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.$$"
_error="./.error.out"

View file

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