diff options
| author | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-28 17:28:42 +0000 |
|---|---|---|
| committer | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-28 17:28:42 +0000 |
| commit | a2ed0b4e3dd93247e7ced185dd901b47b5b622e6 (patch) | |
| tree | c3cad479395b5e3340abd65103e4610fb7b75e8c /etc | |
| parent | cd6c4060c8801b7b1c1e74ffbc7aedc37c603fe8 (diff) | |
Notes
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/defaults/rc.conf | 3 | ||||
| -rw-r--r-- | etc/rc.d/ike | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 49e037ff2946..bf013d4d4871 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -71,6 +71,9 @@ firewall_logging="NO" # Set to YES to enable events logging firewall_flags="" # Flags passed to ipfw when type is a file ip_portrange_first="NO" # Set first dynamically allocated port ip_portrange_last="NO" # Set last dynamically allocated port +ike_enable="NO" # Enable IKE daemon (usually racoon or isakmpd) +ike_program="/usr/local/sbin/isakmpd" # Path to IKE daemon +ike_flags="" # Additional flags for IKE daemon ipsec_enable="NO" # Set to YES to run setkey on ipsec_file ipsec_file="/etc/ipsec.conf" # Name of config file for setkey natd_program="/sbin/natd" # path to natd, if you want a different one. diff --git a/etc/rc.d/ike b/etc/rc.d/ike new file mode 100644 index 000000000000..37422b648f9b --- /dev/null +++ b/etc/rc.d/ike @@ -0,0 +1,18 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: ike +# REQUIRE: root beforenetlkm mountcritlocal +# BEFORE: DAEMON +# KEYWORD: FreeBSD + +. /etc/rc.subr + +name="ike" +rcvar=`set_rcvar` +extra_commands="reload" + +load_rc_config $name +run_rc_command "$1" |
