Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 11:27:02 -0700 (PDT)
From:      Patrick Thomas <root@utility.clubscholarship.com>
To:        <freebsd-questions@freebsd.org>
Subject:   earliest possible sysctl setting ?
Message-ID:  <20020626112439.R68572-100000@utility.clubscholarship.com>

next in thread | raw e-mail | index | archive | help

Hello,

I would like to set a certain sysctl (shm_use_phys) as early as possible
during boot - before any other sysctls are set and before the daemons get
started.

I tried just putting the `sysctl -w` line as the first command in /etc/rc,
but it didn't get set when I rebooted?  Why is that, when /etc/rc
obviously runs at boot - why wouldn't it set the sysctl.

Anyway, I just need to set that sysctl as early as possible during
startup, so any suggestions along that line are appreciated.

--PT


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020626112439.R68572-100000>