From 188abf7dfdde3fb53114f188589cac00666967ee Mon Sep 17 00:00:00 2001 From: henning <> Date: Sun, 16 May 2004 15:45:46 +0000 Subject: [PATCH] dhclient doesn't write a pid file any more; do remove the code that deals with it at startup; noticed by wilfried, millert ok --- src/etc/rc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index 55ab5c68..e8e9cc96 100644 --- a/src/etc/rc +++ b/src/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