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?

Hi,
Not sure which OS you are using. This is just FYI. In case of Redhat
based distro, there are two startup scripts.
/etc/rc.sysinit and /etc/rc.local

rc.sysinit is the main startup script used and rc.local is the next
script which runs after the whole boot process ends. Write a shell
script for updating the file under /proc and put wherever you want.

--
"Life is very short.
What is the need for living for ourselves?
Lets live for others.
Our life will be longer than we believe :-)"

Rajan VP

<a href="http://deadend.wordpress.com";>  My Technical Mind </a>
<a href="http://vprajan.blogspot.com";>  My Creative Mind </a>

--
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to