mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
fix setting password c
This commit is contained in:
@@ -75,6 +75,12 @@ elif [ "${abcd}" = "b" ]; then
|
|||||||
# PASSWORD C
|
# PASSWORD C
|
||||||
elif [ "${abcd}" = "c" ]; then
|
elif [ "${abcd}" = "c" ]; then
|
||||||
|
|
||||||
|
if [ ${#newPassword} -gt 0]; then
|
||||||
|
echo "New password C cannot be set thru paramter .. will start interactive password setting."
|
||||||
|
echo "PRESS ENTER to continue"
|
||||||
|
read key
|
||||||
|
fi
|
||||||
|
|
||||||
clear
|
clear
|
||||||
echo ""
|
echo ""
|
||||||
echo "****************************************************************************"
|
echo "****************************************************************************"
|
||||||
@@ -86,8 +92,7 @@ elif [ "${abcd}" = "c" ]; then
|
|||||||
echo "****************************************************************************"
|
echo "****************************************************************************"
|
||||||
|
|
||||||
# let LND-CLI handle the password change
|
# let LND-CLI handle the password change
|
||||||
result=$(lncli --chain=${network} --network=${chain}net changepassword)
|
lncli --chain=${network} --network=${chain}net changepassword
|
||||||
echo "result(${result})"
|
|
||||||
|
|
||||||
# deactivate AUTO-UNLOCK if activated
|
# deactivate AUTO-UNLOCK if activated
|
||||||
sudo /home/admin/config.scripts/lnd.autounlock.sh off
|
sudo /home/admin/config.scripts/lnd.autounlock.sh off
|
||||||
|
Reference in New Issue
Block a user