Add ipsec.ko to required_modules for rc.d/ipsec script.

Thus it can be automatically loaded if ipsec_enable="YES" and option IPSEC
is not in the kernel config.

MFC after:	1 week
This commit is contained in:
ae 2019-05-06 08:30:53 +00:00
parent 49786fb7ad
commit f60e7d9600

View File

@ -20,6 +20,7 @@ stop_cmd="ipsec_stop"
reload_cmd="ipsec_reload"
extra_commands="reload"
ipsec_program="/sbin/setkey"
required_modules="ipsec"
# ipsec_file is set by rc.conf
ipsec_prestart()