From 919740d17e05f5365b387c66aa1c1c405b333921 Mon Sep 17 00:00:00 2001 From: beck <> Date: Fri, 7 Jun 2002 08:54:48 +0000 Subject: [PATCH] clear /var/authpf on bootup - ensure we don't kill things we shouldn't --- src/etc/rc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etc/rc b/src/etc/rc index 928c5939..a962393c 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.195 2002/05/23 20:47:57 dhartmei Exp $ +# $OpenBSD: rc,v 1.196 2002/06/07 08:54:48 beck Exp $ # System startup script run by init on autoboot # or after single-user. @@ -180,6 +180,8 @@ rm -f /etc/nologin rm -f /var/spool/lock/LCK.* rm -f /var/spool/uucp/STST/* (cd /var/run && { test -r dhclient.pid && dhclient_pid=`cat dhclient.pid`; rm -rf -- *; install -c -m 664 -g utmp /dev/null utmp; test -n "$dhclient_pid" && echo "$dhclient_pid" > dhclient.pid; }) +(cd /var/authpf && rm -rf -- *) + # save a copy of the boot messages dmesg >/var/run/dmesg.boot