suse 9.0 script file placement?
i would like to write a startup script to unmask irq and after searching I see people suggesting to place it in the" rc.local" file but I am unable to find this file in Suse 9.0. If Suse does not have this file where should it be written???
:scratch: TIA |
It should be:
/etc/init.d/rc.local I have not used suse 9 - only up to 8.1 but I'm sure it will exist. If not then create the script in /etc/init.d then link it into your runlevel directory. |
I believe rc.local may just be referring to /etc/rc.d/boot.local (or /etc/init.d/boot.local). Basically if you put a line in that file it will run that line as root during the boot up process. Assuming the command you want to do doesn't require stuff from run level 5 to be loaded you should be good to go. Otherwise it gets a little bit more complicated, but its not too bad.
|
Could it be I was root through the su command and could not see the file?
I think this is what i need to add to the file please correct me i am wrong.(or tell me if I am correct). In order to turn on dma and to un mask interupts I need to add this to the startup file: hdparm -d1 -u1 /dev/hda Thanks for your replys and I will post my results |
That is correct according to:
man hdparm |
I was poking around in this directory. There is supposed to be a functions script here also that I can't find. The path is /etc/rc.d/init.d/ Try that level as root. I'm not in front of my computer so I can't look right now.
|
All times are GMT -5. The time now is 08:18 PM. |