Take a look in /etc/rc at the function sysctl_conf.

On Dec 20, 2007 7:47 AM, Lord Sporkton <[EMAIL PROTECTED]> wrote:

> is it possible to do a sysctl.conf.local, to the same effect as
> rc.conf.local, i added the below to the end of my sysctl.conf, but
> this didnt work, net.inet.ip.forwarding was still set to 0 after a
> reboot.
>
>
> local_sysctlconf="/etc/sysctl.conf.local"
> [ -f ${local_sysctlconf} ] && . ${local_sysctlconf} # Do not edit this
> line
>
>
> # cat /etc/sysctl.conf.local
> net.inet.ip.forwarding=1       # 1=Permit forwarding (routing) of IPv4
> packets
>
> # uname -a
> OpenBSD 4.2 GENERIC#375 i386
>
> Thank you,
> Lawrence
>
>


-- 
Julien Cabillot

Reply via email to