I have a very small script that should be run on the debian installer: (via preinstall, preinstall script)
echo -n -e " # Your option [1] [2] [3]: "
read REPLY
if [ "$REPLY" == "1" ]
The script stops here, and everything I click is only displayed on the screen, however it does not accept the input key. Usually, when you press 1 and press enter, reading should return 1 in $ REPLY. But nothing happens. It continues to accept user input, but no further action occurs.
Then I switched to tty2 using ALT + F2 and ran the script there, everything was fine, it works as expected when I click; he takes the entrance. Why doesn't tty1 accept input as usual?
source
share