>#1: I need to load two drivers and make a program run in batch mode at
>boot time,say when everything is up and ready for login command.Where do
>I put these instructions or what I have to do?
This depends on what distribution you are running. Read man pages
about init, and inittab, and look around for files under /etc that have
"rc" in the name. Initialization has got pretty complicated in most
distributions, now, but there's usually a place set aside specifically
to put local additions after everything else is done.
If you identify the distribution somebody here will have more
specific instructions for you.
Quote:>#2: I need,from a C program,to make Linux reboot when something weird is
>happening.WHat call I need to do within the program?
You need to build a kernel with "Watchdog timer" support, and make
your program turn it on and then be sure to write to the corresponding
device every N seconds. The system will reboot if things get weird
enough that your program fails to do the write.