add change password to main menu

This commit is contained in:
rootzoll
2019-01-14 17:59:18 +01:00
parent a3640e7057
commit 34071dc6c6

View File

@@ -224,6 +224,7 @@ else
SERVICES "Activate/Deactivate Services" \ SERVICES "Activate/Deactivate Services" \
MOBILE "Connect Mobile Wallet" \ MOBILE "Connect Mobile Wallet" \
NAME "Change Name/Alias of Node" \ NAME "Change Name/Alias of Node" \
PASSWORD "Change Passwords" \
CASHOUT "Remove Funds from on-chain Wallet") CASHOUT "Remove Funds from on-chain Wallet")
# dont offer lnbalance/lnchannels on testnet # dont offer lnbalance/lnchannels on testnet
@@ -376,6 +377,12 @@ case $CHOICE in
read key read key
sudo shutdown -r now sudo shutdown -r now
;; ;;
PASSWORD)
sudo /home/admin/config.scripts/blitz.setpassword.sh
echo "Press ENTER to Reboot."
read key
sudo shutdown -r now
;;
OFF) OFF)
echo "" echo ""
echo "LCD turns white when shutdown complete." echo "LCD turns white when shutdown complete."