2001-01-18 05:01:12 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-12-07 20:37:15 +03:00
|
|
|
# $NetBSD: racoon,v 1.5 2004/12/07 17:37:15 kleink Exp $
|
2001-01-18 05:01:12 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: ike
|
2001-04-26 07:55:16 +04:00
|
|
|
# REQUIRE: isdnd kdc ppp
|
2002-03-22 07:33:57 +03:00
|
|
|
# BEFORE: SERVERS
|
2004-12-07 20:37:15 +03:00
|
|
|
# KEYWORD: shutdown
|
2001-01-18 05:01:12 +03:00
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2001-01-18 05:01:12 +03:00
|
|
|
|
|
|
|
name="racoon"
|
|
|
|
rcvar=$name
|
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
required_files="/etc/racoon/racoon.conf"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|