mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
#961 fix back
This commit is contained in:
parent
83193b2ca4
commit
9e5a1d0ca5
@ -507,7 +507,7 @@ if [ "${BTCPayServer}" != "${choice}" ]; then
|
||||
if [ "${choice}" = "on" ]; then
|
||||
if [ ${errorOnInstall} -eq 0 ]; then
|
||||
source /home/btcpay/.btcpayserver/Main/settings.config
|
||||
if [ ${externalurl} = "https://localhost" ]; then
|
||||
if [ "${externalurl}" = "https://localhost" ]; then
|
||||
localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
|
||||
externalurl="https://$localip\n
|
||||
Will need to accept the self-signed certificate in the \
|
||||
@ -546,7 +546,7 @@ if [ ${check} -eq 1 ]; then choice="on"; fi
|
||||
if [ "${lndmanage}" != "${choice}" ]; then
|
||||
echo "lndmanage Setting changed .."
|
||||
anychange=1
|
||||
sudo /home/admin/config.scripts/bonus.lndmanage.sh ${choice}
|
||||
sudo -u admin /home/admin/config.scripts/bonus.lndmanage.sh ${choice}
|
||||
if [ "${choice}" = "on" ]; then
|
||||
whiptail --title " Installed lndmanage " --msgbox "\
|
||||
Usage: https://github.com/bitromortac/lndmanage/blob/master/README.md\n
|
||||
|
@ -24,6 +24,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
|
||||
echo "*** INSTALL LNDMANAGE ***"
|
||||
mkdir /home/admin/lndmanage
|
||||
sudo chown admin:admin /home/admin/lndmanage
|
||||
cd /home/admin/lndmanage
|
||||
# activate virtual environment
|
||||
python -m venv venv
|
||||
|
Loading…
Reference in New Issue
Block a user