Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2019 08:30:53 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347178 - head/libexec/rc/rc.d
Message-ID:  <201905060830.x468Url7061651@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Mon May  6 08:30:53 2019
New Revision: 347178
URL: https://svnweb.freebsd.org/changeset/base/347178

Log:
  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

Modified:
  head/libexec/rc/rc.d/ipsec

Modified: head/libexec/rc/rc.d/ipsec
==============================================================================
--- head/libexec/rc/rc.d/ipsec	Mon May  6 03:39:25 2019	(r347177)
+++ head/libexec/rc/rc.d/ipsec	Mon May  6 08:30:53 2019	(r347178)
@@ -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()



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