How to run a console program at startup
Hello, I need to run a program on a certain console at startup on a Red-hat.
I do not want a login shell in that console. Only the program running, and if the program hangs, it should restart. I've been trying to do this changing the inittab file, but it does not work. Can anybody tell me how to do this? Thanks in advance and sorry for my english. |
If the application doesn't need X, you can usually run the command from /etc/rc.d/rc.local. That's the last init script to run and is frequently used to run commands at the end of the init process.
|
I think that what you need is to edit /etc/inittab I don't know how (to edit it), but maybe
'man init' can help you |
All times are GMT -5. The time now is 06:58 AM. |