#991 notice to have at least one active channel

This commit is contained in:
rootzoll
2020-01-22 00:07:03 +01:00
parent fc4cc892cc
commit 90687877aa
2 changed files with 3 additions and 1 deletions

View File

@@ -549,7 +549,8 @@ if [ "${lndmanage}" != "${choice}" ]; then
sudo -u admin /home/admin/config.scripts/bonus.lndmanage.sh ${choice} sudo -u admin /home/admin/config.scripts/bonus.lndmanage.sh ${choice}
if [ "${choice}" = "on" ]; then if [ "${choice}" = "on" ]; then
whiptail --title " Installed lndmanage " --msgbox "\ whiptail --title " Installed lndmanage " --msgbox "\
Usage: https://github.com/bitromortac/lndmanage/blob/master/README.md\n Usage: https://github.com/bitromortac/lndmanage/blob/master/README.md
Have at least one channel active to run it without error.
To start type: 'manage' in the command line. To start type: 'manage' in the command line.
" 9 75 " 9 75
fi fi

View File

@@ -39,6 +39,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
echo "usage: https://github.com/bitromortac/lndmanage/blob/master/README.md" echo "usage: https://github.com/bitromortac/lndmanage/blob/master/README.md"
echo "To start type: 'manage' in the command line." echo "To start type: 'manage' in the command line."
echo "Needs at least one channel to start without error."
echo "To exit the venv - type 'deactivate' and press ENTER" echo "To exit the venv - type 'deactivate' and press ENTER"
exit 0 exit 0