From 4a2375f74a84e26e241a55775e3bc25f8a382f3c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 23 Sep 1996 13:06:38 +0000 Subject: rfc1323 variable --- etc/rc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index daf4b9ca9af..6f4b62731f0 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.24 1996/09/07 20:45:24 millert Exp $ +# $OpenBSD: rc,v 1.25 1996/09/23 13:06:36 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -80,6 +80,10 @@ if [ X"${ipfilter}" = X"YES" -a X"${ipmon_flags}" != X"NO" ]; then ipmon ${ipmon_flags} & fi +if [ X"${rfc1323}" = X"NO" ]; then + echo 'disabling rfc1323'; sysctl -w net.inet.tcp.rfc1323=0 +fi + # clean up left-over files rm -f /etc/nologin rm -f /var/spool/lock/LCK.* -- cgit v1.2.3