From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 13:06:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6895D10656EF for ; Mon, 9 Feb 2009 13:06:16 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.162]) by mx1.freebsd.org (Postfix) with ESMTP id AC08C8FC0A for ; Mon, 9 Feb 2009 13:06:15 +0000 (UTC) (envelope-from uwe@laverenz.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1234184774; l=832; s=domk; d=laverenz.de; h=Sender:In-Reply-To:Content-Type:Mime-Version:References:Subject:To: From:Date:X-RZG-CLASS-ID:X-RZG-AUTH:DomainKey-Signature; bh=MvhChhp5qXcxhN3NmZD85mcYJ5ooMZxNhepOZWCaGS4=; b=Q3nfJrlDd66FKC931zFog4fOqb3ypH0PTb2AaZMSI3R7F4CuJDy376FThuS2K52aGu1 UWPWukEUA9j3TwYminFKmtbRdS1FbymWceczvtcgBm/AGeNj9zc+JR9reOv5iyUZcnx+a dR4A8vo/e9wMgnONXUKvGsgC7EyuePatiII= DomainKey-Signature: a=rsa-sha256; s=domk; d=laverenz.de; c=nofws; q=dns; h=X-RZG-AUTH:X-RZG-CLASS-ID:Date:From:To:Subject:References: Mime-Version:Content-Type:In-Reply-To:Sender; b=PQNBZ+iw5/voGSTsW0TK8sHaUcn9HVNaM0qQoN+x9z7EZS/PuRikyFNDdWTTb52wqcg 4x943QiIEb+8DNisETbd+DV0mg0PCZyPidIjeRAcYCjm3XjkptSPrbuIkcP8FwwSjmMSz mb0eQ/OA3fEkJ4jTDOZyVDpCSlkp+aKFPVY= X-RZG-AUTH: :LWgJfE6Id/4Sm/WkdV0gEbKL+/p/UjmosA/b4BPf1Ida/LA6f2WjvdsA X-RZG-CLASS-ID: mo00 Received: from athena.laverenz.de (77-22-194-90-dynip.superkabel.de [77.22.194.90]) by post.strato.de (fruni mo34) (RZmta 18.18) with ESMTP id j01491l19CpVvR for ; Mon, 9 Feb 2009 14:06:13 +0100 (MET) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id F2D81127BDC for ; Mon, 9 Feb 2009 14:03:28 +0100 (CET) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05907-06 for ; Mon, 9 Feb 2009 14:03:28 +0100 (CET) Received: by athena.laverenz.de (Postfix, from userid 2000) id 8D4A3127BF3; Mon, 9 Feb 2009 14:03:28 +0100 (CET) Date: Mon, 9 Feb 2009 14:03:28 +0100 From: Uwe Laverenz To: freebsd-questions@freebsd.org Message-ID: <20090209130328.GA998@laverenz.de> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: private site Sender: uwe@laverenz.de User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at laverenz.de Subject: Re: CUPS, initial PATH environment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 13:06:17 -0000 On Mon, Feb 09, 2009 at 01:46:46PM +0100, Pieter Donche wrote: > If one installs CUPS as the printing system, one must use the > /usr/local/bin versions of lp, lpr, lpq and lprm instead of the > FreeBSD versions in /usr/bin, otherwise you get errors when using > the command line interface... > > I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. > forcing the use of the /usr/local/bin versions > but this would oblige me to do that again after every FreeSBD upgrade. There is a flag for cups that should disable the commands in the base system. Before installing cups you can add the following line to your /etc/make.conf: CUPS_OVERWRITE_BASE=YES And to prevent reinstallation during a system upgrade you can add the following line to /etc/src.conf: WITHOUT_LPR=YES bye, Uwe