mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
Added change naem/alias to main menu
This commit is contained in:
parent
429af12435
commit
fc18d774f1
2 changed files with 9 additions and 2 deletions
|
@ -223,6 +223,7 @@ else
|
|||
RECEIVE "Create Invoice/PaymentRequest" \
|
||||
SERVICES "Activate/Deactivate Services" \
|
||||
MOBILE "Connect Mobile Wallet" \
|
||||
NAME "Change Name/Alias of Node" \
|
||||
CASHOUT "Remove Funds from on-chain Wallet")
|
||||
|
||||
# dont offer lnbalance/lnchannels on testnet
|
||||
|
@ -369,6 +370,12 @@ case $CHOICE in
|
|||
read key
|
||||
./00mainMenu.sh
|
||||
;;
|
||||
NAME)
|
||||
sudo /home/admin/config.scripts/lnd.setname.sh
|
||||
echo "Press ENTER to Reboot."
|
||||
read key
|
||||
sudo shutdown -r now
|
||||
;;
|
||||
OFF)
|
||||
echo ""
|
||||
echo "LCD turns white when shutdown complete."
|
||||
|
|
|
@ -13,8 +13,8 @@ newName=$1
|
|||
# run interactive if 'turn on' && no further parameters
|
||||
if [ ${#newName} -eq 0 ]; then
|
||||
|
||||
dialog --backtitle "Name/Alias" --inputbox "ENTER the new Name for LND node:
|
||||
(one word, use basic characters)
|
||||
dialog --backtitle "Set LND Name/Alias" --inputbox "ENTER the new Name/Alias for LND node:
|
||||
(free to choose, one word, use basic characters)
|
||||
" 8 52 2>./.tmp
|
||||
newName=$( cat ./.tmp )
|
||||
if [ ${#newName} -eq 0 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue