Browse Source

clear /var/authpf on bootup - ensure we don't kill things we shouldn't

OPENBSD_3_2
beck 22 years ago
parent
commit
919740d17e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/etc/rc

+ 3
- 1
src/etc/rc View File

@ -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


Loading…
Cancel
Save