summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ipsec
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-01-17 10:40:45 +0000
committermtm <mtm@FreeBSD.org>2004-01-17 10:40:45 +0000
commit904beb9e16b91685d147748ca9a0ddfda1cd9282 (patch)
tree99720b9841634a9c5e100113c18279be9db362fb /etc/rc.d/ipsec
parent756ba78a920fb35b9c7d4d2bbdc0422e55f17673 (diff)
downloadFreeBSD-src-904beb9e16b91685d147748ca9a0ddfda1cd9282.zip
FreeBSD-src-904beb9e16b91685d147748ca9a0ddfda1cd9282.tar.gz
Luke Mewburn has indicated that they (NetBSD) are not interested
in keeping the scripts under rc.d in sync with us. So, remove NetBSD specific stuff (which made our scripts more complicated than necessary). The NetBSD ident string will be left intact, both for history and also incase we wish to pull in future versions.
Diffstat (limited to 'etc/rc.d/ipsec')
-rwxr-xr-xetc/rc.d/ipsec13
1 files changed, 2 insertions, 11 deletions
diff --git a/etc/rc.d/ipsec b/etc/rc.d/ipsec
index e220f35..01b7ab2 100755
--- a/etc/rc.d/ipsec
+++ b/etc/rc.d/ipsec
@@ -21,17 +21,8 @@ stop_precmd="test -f /etc/ipsec.conf"
stop_cmd="ipsec_stop"
reload_cmd="ipsec_reload"
extra_commands="reload"
-
-case ${OSTYPE} in
-FreeBSD)
- ipsec_program="/usr/sbin/setkey"
- # ipsec_file is set by rc.conf
- ;;
-NetBSD)
- ipsec_program="/sbin/setkey"
- ipsec_file="/etc/ipsec.conf"
- ;;
-esac
+ipsec_program="/usr/sbin/setkey"
+# ipsec_file is set by rc.conf
ipsec_prestart()
{
OpenPOWER on IntegriCloud