Closed Saroumane closed 3 years ago
Hello. The shell needs to be interactive, therefore I recommend you to run it in three steps:
Oh you are so right, I forgot I can't interact with a menu in a non-interactive shell. But as long as I don't need to, the rest of the script carries on nicely. Menu set aside, you really think there are other parts of the scripts that need an interactive shell ?
Nope, I can't think on any other part requiring an interactive shell.
Thanks for your quick answer.
Hello, I try to run Update_all_Mister directly from ssh like this :
So : the script runs normally after skipping the settings menu :
SORRY! Can't display the SETTINGS screen because fb terminal is off.
I guess I have to modify a variable before running ssh ? Or run ssh with a special parameter ? Or maybe a setting from my terminal emulator ? (I use Gnome Terminal 3.38 with bash)