/etc/rc.* files isn't read properly?
Hi all.
I am new to OpenBSD, and I seem to have some start up problems.
I am running 4.1 (yes i know).
Ive just installed OpenVPN and configured it.
I works fine and I can connect to it.
I start it in this way:
cd /etc/openvpn/
openvpn server.conf
Surely I want it to start at boot time so I added:
if [ -x /usr/local/sbin/openvpn ]; then
/usr/local/sbin/openvpn --config /etc/openvpn/server.conf
fi
(This works fine if I type it in a shell (OpenVPN starts)).
to /etc/rc.local and to be sure also to /etc/rc.conf.local
But when I reboots the system, OpenVPN doesn't start.
Pf is activated so the rc scripts is being read by the system, but not my part.
dmesg doesn't tell me anything that can lead me towards any solution, please tell me if you want to see it.
ps aux isn't showing me anything about OpenVPN either.
Can anyone might tell me what I am doing wrong?
Thanks!
|