Date: 15 Mar 2002 21:54:47 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: Emiel Kollof <coolvibe@hackerheaven.org> Cc: "Crist J. Clark" <cjc@FreeBSD.ORG>, huntting@glarp.com, current@FreeBSD.ORG Subject: Re: 4.5->5.0 kldxref:No such file or directory Message-ID: <xzpn0x9o8ko.fsf@flood.ping.uio.no> In-Reply-To: <20020313031335.GA70809@hackerheaven.org> References: <200203122105.g2CL56p02307@hunkular.glarp.com> <20020312174502.K29705@blossom.cjclark.org> <20020313031335.GA70809@hackerheaven.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Emiel Kollof <coolvibe@hackerheaven.org> writes:
> Why not test for it like this (or similar):
>
> [ -x /usr/sbin/kldxref ] && /usr/bin/kldxref (etcetera...)
A better solution is
@(kldxref ${DESTDIR}${KMODDIR} || \
echo "Ignoring non-fatal kldxref failure")
DES
--
Dag-Erling Smorgrav - des@ofug.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpn0x9o8ko.fsf>
