summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2002-06-07 08:54:49 +0000
committerBob Beck <beck@cvs.openbsd.org>2002-06-07 08:54:49 +0000
commit0b9e78847d8f49e294663df6501f22cae270d586 (patch)
tree76722492c8d1d2acd48ff268aca34a64c1a9e81e /etc/rc
parent3050f2441cc08d5e9aeab0a0196a7ae925e3f593 (diff)
clear /var/authpf on bootup - ensure we don't kill things we shouldn't
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 928c59391f7..a962393c116 100644
--- a/etc/rc
+++ b/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