Deleted Added
full compact
ipsec (101085) ipsec (103019)
1#!/bin/sh
2#
3# $NetBSD: ipsec,v 1.7 2002/03/22 04:33:58 thorpej Exp $
1#!/bin/sh
2#
3# $NetBSD: ipsec,v 1.7 2002/03/22 04:33:58 thorpej Exp $
4# $FreeBSD: head/etc/rc.d/ipsec 101085 2002-07-31 16:39:19Z ume $
4# $FreeBSD: head/etc/rc.d/ipsec 103019 2002-09-06 16:18:05Z gordon $
5#
6
7# PROVIDE: ipsec
8# REQUIRE: root beforenetlkm mountcritlocal tty
9# BEFORE: DAEMON
10# KEYWORD: FreeBSD NetBSD
11
12# it does not really require beforenetlkm.

--- 6 unchanged lines hidden (view full) ---

19ipsec_file="/etc/ipsec.conf"
20start_precmd="ipsec_prestart"
21start_cmd="ipsec_start"
22stop_precmd="test -f /etc/ipsec.conf"
23stop_cmd="ipsec_stop"
24reload_cmd="ipsec_reload"
25extra_commands="reload"
26
5#
6
7# PROVIDE: ipsec
8# REQUIRE: root beforenetlkm mountcritlocal tty
9# BEFORE: DAEMON
10# KEYWORD: FreeBSD NetBSD
11
12# it does not really require beforenetlkm.

--- 6 unchanged lines hidden (view full) ---

19ipsec_file="/etc/ipsec.conf"
20start_precmd="ipsec_prestart"
21start_cmd="ipsec_start"
22stop_precmd="test -f /etc/ipsec.conf"
23stop_cmd="ipsec_stop"
24reload_cmd="ipsec_reload"
25extra_commands="reload"
26
27case `${CMD_OSTYPE}` in
27case ${OSTYPE} in
28FreeBSD)
29 ipsec_program="/usr/sbin/setkey"
30 ;;
31NetBSD)
32 ipsec_program="/sbin/setkey"
33 ;;
34esac
35

--- 46 unchanged lines hidden ---
28FreeBSD)
29 ipsec_program="/usr/sbin/setkey"
30 ;;
31NetBSD)
32 ipsec_program="/sbin/setkey"
33 ;;
34esac
35

--- 46 unchanged lines hidden ---