summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-05-16 15:45:47 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-05-16 15:45:47 +0000
commit1b49d4890b01e1ba4c20384d236e1e8e0309c53d (patch)
tree273cbf9b9ac3117455c98a986a557e6481cbf283 /etc
parent733805b245c3d6f63046af7220ac366475b3e825 (diff)
dhclient doesn't write a pid file any more; do remove the code that
deals with it at startup; noticed by wilfried, millert ok
Diffstat (limited to 'etc')
-rw-r--r--etc/rc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 55ab5c68ad5..e8e9cc96524 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.246 2004/05/16 04:31:01 mcbride Exp $
+# $OpenBSD: rc,v 1.247 2004/05/16 15:45:46 henning Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -195,10 +195,9 @@ dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 \
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/run && { rm -rf -- *; install -c -m 664 -g utmp /dev/null utmp; })
(cd /var/authpf && rm -rf -- *)
-
# save a copy of the boot messages
dmesg >/var/run/dmesg.boot