From 904beb9e16b91685d147748ca9a0ddfda1cd9282 Mon Sep 17 00:00:00 2001 From: mtm Date: Sat, 17 Jan 2004 10:40:45 +0000 Subject: 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. --- etc/rc.d/ipsec | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'etc/rc.d/ipsec') 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() { -- cgit v1.1