Date: Wed, 27 Feb 2002 16:41:13 +0000 From: Scott Mitchell <scott.mitchell@mail.com> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: FBSDQ <questions@FreeBSD.ORG> Subject: Re: Remove DHCP copyright msg from console display. Message-ID: <20020227164113.A34262@localhost> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOGEBACJAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Wed, Feb 27, 2002 at 11:06:34AM -0500 References: <LPBBIGIAAKKEOEJOLEGOGEBACJAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227164113.A34262>