[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

best place to put sysctl directions


I want to alter some sysctl's during boot time, and, of course I could
do it via the sysctl configuration file itself, but I want to do some
"for f in .. done" and some "echo"ing.

Since I want to do this during boot time, I thought I would put it in
/etc/init.d/, but since it is a script not installed by a .deb package,
I wondered if there is some better place to put user affiliated scripts.

Second, policy would make one add some "start/stop/..." logic to the
scripts started via rcX, what would I want to put in "stop" etc., since
it would not be possible to restore original sysctl values, besides I
don't want them to alter anyway, I want them to stay after boot time.
Just some dummy entry doing nothing?

I hope someone can help me figure this out, or point me to some stuff I
can RTFM (or to some more apprropriate list, since this is not very -powerpc
related, but I didn't want to ask on -devel).

Best wishes,

Reply to: