Startup Scripts

Hi.

I've asked this question several times, and I have received several answers.  
But I am still a bit of a newbie to Linux, and I was afraid to try most of 
them.  I am an okay C programmer, but I know absolutely nothing about startup 
scripts.  I'm a little leary of screwing up something in them - this one is 
about as far from being a sacrificial computer as it can get.  I need to know 
exactly what to put in my startup scripts in order to install and configure 
the Comedi library.  Could someone please give me some very explicit 
instructions about what to add and what files to put them in?

I'm using RedHat Linux 9 with an NI-6036E board.  I'm away from my Linux 
computer right now, and I don't recall the kernel version or the version of 
Comedi.  I'm using one of the two or three most recent versions of Comedi.  
Let me know if you need that information.

Here's what I'm typing in my terminal window each time use Comedi after 
restarting my computer (which is pretty often - I have to unplug and cover it 
every night because the roof leaks in my building):
# ./sbin/modprobe ni_pcimio
# ./sbin/ldconfig
# cd usr/local/comedilib-0.7.22
# ./configure --disable-ruby-binding --disable-python-binding
# make
# make install
# cd comedi_config
# ./comedi_config /dev/comedi0 ni_pcimio
# cd ../comedi_calibrate
# ./comedi_calibrate

I've heard that it's a bad idea to run comedi_calibrate during startup, so I'm 
okay with typing that in the terminal or executing it from my other software.  
I want to put the rest in startup.

Do I need something to "start" and something else to "stop" (as noted in a 
previous response)?  Do I have to install, or is configuration enough?

I would really like to not have to type all this stuff every day that I use 
Comedi anymore.  Please help.

Best,

Heather

Received on 2006-10-23Z00:35:39