From owner-freebsd-questions Wed Feb 27 11: 1:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f185.law11.hotmail.com [64.4.17.185]) by hub.freebsd.org (Postfix) with ESMTP id 43A4337B400 for ; Wed, 27 Feb 2002 11:01:47 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 27 Feb 2002 11:01:47 -0800 Received: from 66.46.21.253 by lw11fd.law11.hotmail.msn.com with HTTP; Wed, 27 Feb 2002 19:01:46 GMT X-Originating-IP: [66.46.21.253] From: "Miroslav Pendev" To: questions@freebsd.org Subject: Re: Remove DHCP copyright msg from console display. Date: Wed, 27 Feb 2002 14:01:46 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Feb 2002 19:01:47.0158 (UTC) FILETIME=[3462FB60:01C1BFC1] 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 >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? I am using the following as start up script for the DHCP server. Just add -d at the end of the last line. Of course, edit this and put your locations and interface. /usr/local/etc/rc.d/dhcpd.sh #!/bin/sh # # DHCP StartUp script # Mikel King # # # DHCPD="/usr/local/sbin/dhcpd" CFG="/etc/rc.dhcpd" iif="xl1" ${DHCPD} -cf ${CFG} ${iif} ---- the last row must be: ${DHCPD} -cf ${CFG} ${iif} -d Hope that helps _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message