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:
Andrey V. Elsukov 2019-05-06 08:30:53 +00:00
parent 8d2a55ca67
commit 51d97e1b23

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()