diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2004-05-31 13:04:00 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2004-05-31 13:04:00 +0000 |
commit | a49219050b77a6a2a85ff4feef64506c464c7378 (patch) | |
tree | e4bcfba14ff9bb03c0dd14cbf1427365ffdf9d1a /regress/sbin/ipsecadm/Makefile | |
parent | 9931d20b9e4cd1e5bcb164d55dbb163287a2077b (diff) |
reset sysctls only when necessary
ok markus@
Diffstat (limited to 'regress/sbin/ipsecadm/Makefile')
-rw-r--r-- | regress/sbin/ipsecadm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sbin/ipsecadm/Makefile b/regress/sbin/ipsecadm/Makefile index 3b72f88bcc9..4bf09daa5bf 100644 --- a/regress/sbin/ipsecadm/Makefile +++ b/regress/sbin/ipsecadm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2004/05/23 16:04:18 markus Exp $ +# $OpenBSD: Makefile,v 1.2 2004/05/31 13:03:59 sturm Exp $ SRC=192.0.2.0 DST=192.0.2.1 @@ -10,6 +10,7 @@ IPCOMP_ENABLE!= sysctl -n net.inet.ipcomp.enable ESP_ENABLE!= sysctl -n net.inet.esp.enable AH_ENABLE!= sysctl -n net.inet.ah.enable +.ifmake !obj && !clean && !cleandir && !depend && !regress .INTERRUPT: -@${SUDO} sysctl -q net.inet.ipcomp.enable=${IPCOMP_ENABLE} -@${SUDO} sysctl -q net.inet.esp.enable=${ESP_ENABLE} @@ -19,6 +20,7 @@ AH_ENABLE!= sysctl -n net.inet.ah.enable -@${SUDO} sysctl -q net.inet.ipcomp.enable=${IPCOMP_ENABLE} -@${SUDO} sysctl -q net.inet.esp.enable=${ESP_ENABLE} -@${SUDO} sysctl -q net.inet.ah.enable=${AH_ENABLE} +.endif ipcomp: @${SUDO} sysctl -q net.inet.ipcomp.enable=1 |