From owner-freebsd-questions Wed Feb 27 8:40:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 480EB37B41B for ; Wed, 27 Feb 2002 08:40:14 -0800 (PST) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020227164013.BJAN7000.mta06-svc.ntlworld.com@lungfish.ntlworld.com>; Wed, 27 Feb 2002 16:40:13 +0000 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.3) with ESMTP id g1RGf8j11026; Wed, 27 Feb 2002 16:41:09 GMT (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g1RGfE034658; Wed, 27 Feb 2002 16:41:14 GMT (envelope-from scott) Date: Wed, 27 Feb 2002 16:41:13 +0000 From: Scott Mitchell To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: Remove DHCP copyright msg from console display. Message-ID: <20020227164113.A34262@localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barbish@a1poweruser.com on Wed, Feb 27, 2002 at 11:06:34AM -0500 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 27, 2002 at 11:06:34AM -0500, Joe & Fhe Barbish wrote: > man dhcpd(8) says > > When starting dhcpd up from a system startup script > it may not be desirable to print out the entire > copyright message on startup. To avoid printing this > message, the -q flag may be specified. > > I started DHCPD this way > /usr/local/etc/rc.d/isc-dhcpd.sh start -q > > This is what comes out with or without the -q. > > Internet Software Consortium DHCP Server V3.0.1rc6 > Copyright 1995-2001 Internet Software Consortium. > All rights reserved. > For info, please visit http://www.isc.org/products/DHCP > Wrote 1 leases to leases file. > Listening on BPF/xl0/00:01:02:2f:c3:00/10.0.10.0/29 > Sending on BPF/xl0/00:01:02:2f:c3:00/10.0.10.0/29 > Sending on Socket/fallback/fallback-net > > Looking at the script isc-dhcpd.sh I can not see where the > second varuable is -q is read by the script. > > Is this a bug? > How can I get rid of the copyright msg? You need to edit /usr/local/etc/rc.d/isc-dhcpd.sh to include the -q flags in the invocation of dhcpd(8) done by the script. The scripts in rc.d typically don't recognise any options beyond 'start' and 'stop'. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message