mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 04:52:32 +02:00
Merge pull request #1505 from openoms/tweak-menu
updateMenu: tweak whiptail window
This commit is contained in:
@@ -8,10 +8,11 @@ source /home/admin/_version.info
|
|||||||
clear
|
clear
|
||||||
|
|
||||||
# Basic Options
|
# Basic Options
|
||||||
OPTIONS=(RELEASE "RaspiBlitz Release Update/Recovery" \
|
OPTIONS=(
|
||||||
LND "Interim LND Update Options" \
|
RELEASE "RaspiBlitz Release Update/Recovery" \
|
||||||
PATCH "Patch RaspiBlitz v${codeVersion}"
|
LND "Interim LND Update Options" \
|
||||||
)
|
PATCH "Patch RaspiBlitz v${codeVersion}"
|
||||||
|
)
|
||||||
|
|
||||||
if [ "${bos}" == "on" ]; then
|
if [ "${bos}" == "on" ]; then
|
||||||
OPTIONS+=(BOS "Update Balance of Satoshis")
|
OPTIONS+=(BOS "Update Balance of Satoshis")
|
||||||
@@ -23,7 +24,7 @@ if [ "${specter}" == "on" ]; then
|
|||||||
OPTIONS+=(SPECTER "Update Cryptoadvance Specter")
|
OPTIONS+=(SPECTER "Update Cryptoadvance Specter")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CHOICE=$(whiptail --clear --title "Update Options" --menu "" 12 55 5 "${OPTIONS[@]}" 2>&1 >/dev/tty)
|
CHOICE=$(whiptail --clear --title "Update Options" --menu "" 13 55 6 "${OPTIONS[@]}" 2>&1 >/dev/tty)
|
||||||
|
|
||||||
release()
|
release()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user