summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-23 13:06:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-23 13:06:38 +0000
commit4a2375f74a84e26e241a55775e3bc25f8a382f3c (patch)
treeca6e85a41d6472819abf88ed3e2e8c81b02d728a /etc/rc
parent141d16ea47c210d79aea60023fd3f06f2187d381 (diff)
rfc1323 variable
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc6
1 files changed, 5 insertions, 1 deletions
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.*