1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/security/racoon2/files/patch-samples-rc.d-iked.in
Cy Schubert 3b17d2a7bd Provide rc vars defaults.
PR:		206104
Submitted by:	olgeni
2016-01-10 23:44:29 +00:00

22 lines
442 B
Plaintext

--- samples/rc.d-iked.in.orig 2005-10-28 06:33:16 UTC
+++ samples/rc.d-iked.in
@@ -10,14 +10,16 @@
. /etc/rc.subr
+: ${iked_enable="NO"}
+
prefix=@prefix@
exec_prefix=@exec_prefix@
name="iked"
-rcvar=$name
+rcvar=iked_enable
command="@sbindir@/${name}"
extra_commands="reload"
-required_vars="spmd"
+required_vars="spmd_enable"
pidfile="/var/run/${name}.pid"
required_files="@sysconfdir@/racoon2.conf"
reload_cmd="iked_reload"