On Tue, Jan 11, 2000 at 02:45:43PM -0800, Antonio Sabato wrote:
> I am trying to display a message HELLO in my current terminal. How do i do 
> this by adding an entry into the /etc/inittab file? Like now when i type 
> tty, it displays my current terminal, but i want to display hello..how do i 
> do that?

i have NO idea what you are doing (or asking), but this is the best i
can make of your question:


this appended to /etc/inittab:
        9:2345:once:/bin/echo HELLO > /dev/tty9
will display HELLO on console 9 - there's not much else you might want
to do with inittab


you could do:
        ln /dev/tty9 /dev/HELLO
and change the above inittab line to
        9:2345:respawn:/sbin/getty 38400 HELLO
and then logins on console 9 would be on /dev/HELLO (this will
probably break all sorts of things, but hey)


you'll have to run "telinit q" to get init to reread /etc/inittab
immediately


if all you want to do is display HELLO in your current terminal, then
whats wrong with:
        echo HELLO


before you start leaping in and playing with /etc/inittab, i'd be real 
careful to have a backup and a boot/root disk handy.

-- 
 - Gus
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to