change systemwide stderr
Posted on 2003-03-18
I have a question regarding the systemwide stderr. I have an embedded x386 System with linux, without any vga port. The console is set to ttyS1. In order not to see any error messages I would like to change the stderr one time during system start to /dev/null. Then, all later started processes shall use the new stderr as output.
Do anyone have an idea how to do this? (shell script or C/C++-Code)?
Thank you very much.