From owner-freebsd-current Thu May 25 07:28:36 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA24910 for current-outgoing; Thu, 25 May 1995 07:28:36 -0700 Received: from leo.ibms.sinica.edu.tw ([140.109.40.249]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA24901 for ; Thu, 25 May 1995 07:28:28 -0700 Received: (from taob@localhost) by leo.ibms.sinica.edu.tw (8.6.11/8.6.9) id WAA28417; Thu, 25 May 1995 22:28:22 +0800 Date: Thu, 25 May 1995 22:28:21 +0800 (CST) From: Brian Tao To: FREEBSD-CURRENT-L Subject: rwhod in /etc/rc Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@FreeBSD.org Precedence: bulk As a followup to the rwhod patch, I've modified /etc/rc to create the needed /var/rwho directory if it does not exist (idea taken from the IRIX /etc/init.d/network file). I noticed that the boot files toss in some comment about rwhod being a "time waster" or a "performance pig" or "will saturate networks with many hosts". FreeBSD's /etc/rc and /etc/sysconfig don't give any warning (although it is turned off by default). *** rc-old Thu May 25 22:08:42 1995 --- rc Thu May 25 22:10:47 1995 *************** *** 184,189 **** --- 184,192 ---- # $rwhod is imported from /etc/sysconfig; # if $rwhod is set to YES, rwhod is run. if [ "X${rwhod}" = X"YES" ]; then + if [ ! -d /var/rwho ]; then + /bin/mkdir /var/rwho + fi echo -n ' rwhod'; rwhod fi -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org