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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to