From owner-freebsd-current Mon Apr 1 0:36:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id C425D37B41B for ; Mon, 1 Apr 2002 00:36:38 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g318abYm090226; Mon, 1 Apr 2002 00:36:37 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g318ZLaG088496; Mon, 1 Apr 2002 00:35:21 -0800 (PST) Date: Mon, 1 Apr 2002 00:35:21 -0800 From: "David O'Brien" To: Emiel Kollof Cc: freebsd-current@FreeBSD.ORG Subject: Re: kldxref problem Message-ID: <20020401003521.A88395@dragon.nuxi.com> Reply-To: freebsd-current@FreeBSD.ORG References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1017571105.901.4.camel@loki.ipv6.hackerheaven.org>; from coolvibe@hackerheaven.org on Sun, Mar 31, 2002 at 12:38:24PM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 12:38:24PM +0200, Emiel Kollof wrote: > On Sun, 2002-03-31 at 09:51, Terry Lambert wrote: > > > > > Perhaps if the kernel printf also "ignored" the request to print > > the little S.O.B. out, there would be less confusion... > > I'm still sticking to the idea that one could test for kldxref, and if > it isn't there, don't execute it. > > [ -x /usr/sbin/kldxref ] && /usr/sbin/kldxref > > like so, which is perfectly sane bourne shell syntax, which is also used > by BSD make. Not really. Use: : rule1 rule2 .if exists(/usr/sbin/kldxref) /usr/sbin/kldxref .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message