diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2002-06-07 08:54:49 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2002-06-07 08:54:49 +0000 |
commit | 0b9e78847d8f49e294663df6501f22cae270d586 (patch) | |
tree | 76722492c8d1d2acd48ff268aca34a64c1a9e81e /etc/rc | |
parent | 3050f2441cc08d5e9aeab0a0196a7ae925e3f593 (diff) |
clear /var/authpf on bootup - ensure we don't kill things we shouldn't
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |