Click to See Complete Forum and Search --> : Redirecting input to terminal on bootup


morphman
06-04-2002, 03:52 PM
I posted this question a month ago but was unable to get an answer so ill try again! Ive been doing a lot of work with scripts that need to be executed before the login and before the gui is launched. I need to be able to output text to the terminal when the system is booting up (somewhere in runlevel 5, it doesnt matter where). I can get my scripts to run but i cannot get the text to go to the terminal. I tried redirecting it to tty and standard error (just to see what would happen) and nothing happens). So when the system boots it launches my script but if text is echoed in my script it never shows up. Does anyone know how to do this? I would greatly appreciate any help you can provide!

--Morphman, scripting psycho

morphman
06-05-2002, 03:15 PM
*sniff* No one can provide any help? Can anyone redirect me to some place where i can find help? thanks... Good old yahoo searching has proven to be fruitless so far.

morphman
06-05-2002, 04:01 PM
aha! I found the problem. The problem is that im a FOOL! I forgot to put backticks around my tty. I was typing:
echo "blah blah blah" > tty
when i obviously should have had
echo "blah blah blah" > `tty`
Oops! hehe
--morphman, working towards dumbass certification