From owner-cvs-src@FreeBSD.ORG Fri Nov 18 10:17:30 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BFFC16A420; Fri, 18 Nov 2005 10:17:30 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011F943D4C; Fri, 18 Nov 2005 10:17:30 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAIAHTuV087724; Fri, 18 Nov 2005 10:17:29 GMT (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAIAHTZP087723; Fri, 18 Nov 2005 10:17:29 GMT (envelope-from yar) Date: Fri, 18 Nov 2005 10:17:29 +0000 From: Yar Tikhiy To: Maksim Yevmenkin Message-ID: <20051118101729.GA87399@freefall.freebsd.org> References: <200511152036.jAFKaQMZ089811@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200511152036.jAFKaQMZ089811@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d hcsecd sdpd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 10:17:30 -0000 On Tue, Nov 15, 2005 at 08:36:26PM +0000, Maksim Yevmenkin wrote: > emax 2005-11-15 20:36:26 UTC > > FreeBSD src repository > > Modified files: > etc/rc.d hcsecd sdpd > Log: > Revise hcsecd(8) and sdpd(8) rc.d scripts. > > - Have both scripts automatically kldload ng_btsocket(4). I did not want to > do it, but its easier for users and it seems other scripts do similar things; You need not override the start method for such a hack. Just put the kldload in the prestart method. In addition, you could check if the module is loaded already. See the pf* scripts for an example. Yar