Sometime on Tue, Sep 05, 2006 at 07:41:50AM +0530, Pradnyesh Sawant said:
hello,
there is a file in /proc which i want to initialise to a particular value at bootup (i have root access to the concerned system); googling suggests that i should do it using a startup script. is the script being referred to "/etc/inittab"? is there any other script file which i can use for this purpose? if there is, then what might be the pros and cons of using that script file over inittab?
You might want to write a small one liner shell script with filename S90foobar, chmod u+x for root user, and put it up inside /etc/rcX.d (X=your default runlevel, or rcS.d for all runlevels).
Anurag