I have an install script for the operating system that I'm setting up and, in part of the script, I need to install the graphics card drivers. In order to do this, I'm required to switch to runlevel 2 using the command
So, if the script consists of
# In run level 3 echo "The"; init 2; echo "quick"; init 3; echo "brown";
, the only thing that is being printed is "The" due to the fact that the script is stopped in its tracks when the init command is sent. I'd like to make the installation of the operating system as automated as possible, but this seems to throw a wrench into the process. Any help would be very much appreciated.