mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
SERVICES menu: fix chantools/CLN switch
This commit is contained in:
@@ -43,7 +43,7 @@ OPTIONS+=(j 'JoinMarket' ${joinmarket})
|
|||||||
OPTIONS+=(o 'Balance of Satoshis' ${bos})
|
OPTIONS+=(o 'Balance of Satoshis' ${bos})
|
||||||
OPTIONS+=(x 'Sphinx-Relay' ${sphinxrelay})
|
OPTIONS+=(x 'Sphinx-Relay' ${sphinxrelay})
|
||||||
OPTIONS+=(y 'PyBLOCK' ${pyblock})
|
OPTIONS+=(y 'PyBLOCK' ${pyblock})
|
||||||
OPTIONS+=(c 'ChannelTools (Fund Rescue)' ${chantools})
|
OPTIONS+=(h 'ChannelTools (Fund Rescue)' ${chantools})
|
||||||
OPTIONS+=(w 'Download Bitcoin Whitepaper' ${whitepaper})
|
OPTIONS+=(w 'Download Bitcoin Whitepaper' ${whitepaper})
|
||||||
OPTIONS+=(n 'Parallel Testnet services' ${testnet})
|
OPTIONS+=(n 'Parallel Testnet services' ${testnet})
|
||||||
OPTIONS+=(c 'C-lightning' ${cln})
|
OPTIONS+=(c 'C-lightning' ${cln})
|
||||||
@@ -247,7 +247,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# CHANTOOLS process choice
|
# CHANTOOLS process choice
|
||||||
choice="off"; check=$(echo "${CHOICES}" | grep -c "c")
|
choice="off"; check=$(echo "${CHOICES}" | grep -c "h")
|
||||||
if [ ${check} -eq 1 ]; then choice="on"; fi
|
if [ ${check} -eq 1 ]; then choice="on"; fi
|
||||||
if [ "${chantools}" != "${choice}" ]; then
|
if [ "${chantools}" != "${choice}" ]; then
|
||||||
echo "chantools Setting changed .."
|
echo "chantools Setting changed .."
|
||||||
|
Reference in New Issue
Block a user