mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
loop: prompt new ssh session if Go just installed
This commit is contained in:
parent
2aa25e545f
commit
216e049751
1 changed files with 10 additions and 1 deletions
|
@ -128,10 +128,19 @@ if [ "${loop}" != "${choice}" ]; then
|
|||
errorOnInstall=$?
|
||||
if [ "${choice}" = "on" ]; then
|
||||
if [ ${errorOnInstall} -eq 0 ]; then
|
||||
whiptail --title " Installed the Lightning Loop Service (loopd) " --msgbox "\
|
||||
# add Go vars to current session
|
||||
if [ ${#GOPATH} -eq 0 ]; then
|
||||
whiptail --title " Installed the Lightning Loop Service (loopd) " --msgbox "\
|
||||
Usage and examples: https://github.com/lightninglabs/loop#loop-out-swaps\n
|
||||
Start a new terminal session (log in again with ssh) and
|
||||
start from the command line by typing 'loop' to see the options.
|
||||
" 11 75
|
||||
else
|
||||
whiptail --title " Installed the Lightning Loop Service (loopd) " --msgbox "\
|
||||
Usage and examples: https://github.com/lightninglabs/loop#loop-out-swaps\n
|
||||
Start from the command line by typing 'loop' to see the options.
|
||||
" 10 75
|
||||
fi
|
||||
else
|
||||
l1="FAILED to install Lightning LOOP"
|
||||
l2="Try manual install in the terminal with:"
|
||||
|
|
Loading…
Add table
Reference in a new issue