Browse Source

repair in LCD screen

v1.1
Christian Rotzoll 6 years ago
parent
commit
0f0dd71c61
  1. 11
      home.admin/00infoLCD.sh
  2. 1
      home.admin/50copyHDD.sh
  3. 1
      home.admin/50torrentHDD.sh

11
home.admin/00infoLCD.sh

@ -122,6 +122,17 @@ while :
continue continue
fi fi
# check if recovering/upgrade is running
if [ "${state}" = "repair" ] || [ "${state}" = "retorrent" ] || [ "${state}" = "recopy" ] ; then
l1="Repair Mode\n"
l2="ssh admin@${localip}\n"
l3="Use password: PasswordA\n"
boxwidth=$((${#localip} + 28))
dialog --backtitle "RaspiBlitz ${codeVersion} (${state}) ${setupStep} ${localip}" --infobox "$l1$l2$l3" 5 ${boxwidth}
sleep 3
continue
fi
# if freshly recovered # if freshly recovered
if [ "${state}" = "recovered" ]; then if [ "${state}" = "recovered" ]; then
l1="FINAL RECOVER LOGIN NEEDED:\n" l1="FINAL RECOVER LOGIN NEEDED:\n"

1
home.admin/50copyHDD.sh

@ -35,7 +35,6 @@ if [ "${setupStep}" = "100" ]; then
echo "stopping servcies ..." echo "stopping servcies ..."
sudo systemctl stop lnd sudo systemctl stop lnd
sudo systemctl stop bitcoind sudo systemctl stop bitcoind
sudo systemctl disable bitcoind
sudo cp -f /mnt/hdd/bitcoin/bitcoin.conf /home/admin/assets/bitcoin.conf sudo cp -f /mnt/hdd/bitcoin/bitcoin.conf /home/admin/assets/bitcoin.conf
fi fi

1
home.admin/50torrentHDD.sh

@ -13,7 +13,6 @@ if [ "${setupStep}" = "100" ]; then
echo "stopping servcies ..." echo "stopping servcies ..."
sudo systemctl stop lnd sudo systemctl stop lnd
sudo systemctl stop ${network}d sudo systemctl stop ${network}d
sudo systemctl disable ${network}d
fi fi
# make sure rtorrent is available # make sure rtorrent is available

Loading…
Cancel
Save