This commit is contained in:
rootzoll 2019-01-14 16:36:36 +01:00
parent e11c786856
commit 9648440e2a
2 changed files with 7 additions and 1 deletions

View File

@ -95,8 +95,14 @@ elif [ "${abcd}" = "c" ]; then
sudo -u bitcoin lncli --chain=${network} --network=${chain}net changepassword
# deactivate AUTO-UNLOCK if activated
echo ""
echo "# Make sure Auto-Unlocks off"
sudo /home/admin/config.scripts/lnd.autounlock.sh off
# final user output
echo ""
echo "OK"
# PASSWORD D
elif [ "${abcd}" = "d" ]; then

View File

@ -112,7 +112,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
sudo sed -i "s/^autoUnlock=.*/autoUnlock=off/g" /mnt/hdd/raspiblitz.conf
# delete password C securly
echo "shredding password on RaspiBlitz"
echo "shredding password on for RaspiBlitz Auto-Unlock"
sudo shred -u /root/lnd.autounlock.pwd
echo "Auto-Unlock is now OFF"