Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / isakmpd / files / isakmpd.sh
blob34f655f77e8f8f6dea1999f6a93247a66ab1aa44
1 #!@RCD_SCRIPTS_SHELL@
3 # $NetBSD: isakmpd.sh,v 1.1 2002/04/04 09:42:30 martti Exp $
5 # PROVIDE: isakmpd
6 # REQUIRE: DAEMON NETWORK
9 if [ -f /etc/rc.subr ]; then
10 . /etc/rc.subr
13 name="isakmpd"
14 rcvar="${name}"
15 command="@PREFIX@/sbin/isakmpd"
16 pidfile="/var/run/isakmpd.pid"
17 required_files="@PKG_SYSCONFDIR@/isakmpd.conf"
19 if [ -f /etc/rc.subr ]; then
20 load_rc_config "${name}"
21 run_rc_command "$1"
22 else
23 printf " ${name}"
24 eval ${command} ${isakmpd_flags} ${command_args}