What I am really trying to do is to create a simple script in the /etc/init.d directory that prints something (like,"Hello, I am your friendly computer.." or "I love you". whatever, it doesn't matter,) the run level, and if the script is starting or stopping something. I want to use vi to create it. But I am not sure whether I should create a directory under /etc/init.d
or...what Should I do? and also, another question is how to us command, ln to create a hard link to the file in /etc/rc2.d and /etc/rc3.d? the last one is how I can bring the system up to run level 3?? Thanks in advance.
|