#3135 set lightning none for setup

This commit is contained in:
rootzoll
2022-06-13 23:06:27 +02:00
parent ca713a0d99
commit 87036412b7

View File

@@ -206,13 +206,13 @@ if [ "$1" = "update-config" ]; then
else
echo "# CONFIG Web API Lightning --> OFF"
sed -i "s/^ln_node=.*/ln_node=/g" ./.env
sed -i "s/^ln_node=.*/ln_node=none/g" ./.env
fi
else
echo "# CONFIG Web API ... still in setup, skip bitcoin & lightning"
sed -i "s/^network=.*/network=/g" ./.env
sed -i "s/^ln_node=.*/ln_node=/g" ./.env
sed -i "s/^ln_node=.*/ln_node=none/g" ./.env
fi
echo "# '.env' config updates - blitzapi maybe needs to be restarted"