using cupsd instead of base lpr [was Re: [HEADS UP] Kernel
modules don't work properly in FreeBSD 8.1-RC1 (solved)]
Ed Schouten
ed at 80386.nl
Thu Jun 24 13:21:55 UTC 2010
* Andrew Reilly <areilly at bigpond.net.au> wrote:
> On Thu, Jun 24, 2010 at 09:23:37AM +0200, Gary Jennejohn wrote:
> > in /etc/src.conf - WITHOUT_LPR=yes
> >
> > and these symbolic links in /usr/bin
> > lrwxr-xr-x 1 root wheel 17 Mar 18 2009 /usr/bin/lp -> /usr/local/bin/lp
> > lrwxr-xr-x 1 root wheel 24 Mar 18 2009 /usr/bin/lpoptions -> /usr/local/bin/lpoptions
> > lrwxr-xr-x 1 root wheel 18 Mar 18 2009 /usr/bin/lpq -> /usr/local/bin/lpq
> > lrwxr-xr-x 1 root wheel 18 Mar 18 2009 /usr/bin/lpr -> /usr/local/bin/lpr
> > lrwxr-xr-x 1 root wheel 19 Mar 18 2009 /usr/bin/lprm -> /usr/local/bin/lprm
> > lrwxr-xr-x 1 root wheel 21 Mar 18 2009 /usr/bin/lpstat -> /usr/local/bin/lpstat
> >
> > and /usr/bin is _before_ /usr/local/bin in my PATH.
>
> Since you have /usr/local/bin in your path, why bother with
> the symlinks at all? Your shell will find them in their new
> locations just fine. You'll want to remove the old ones from
> /usr/bin, but make delete-old will probably do that nicely
> anyway.
In theory, yes. In practice, no. Just for fun, remove your
/usr/sbin/sendmail while having Postfix's /usr/local/sbin/sendmail
installed. It simply won't work. If I remember correctly, you won't even
receive the periodic(8) emails.
Nowadays it's probably better, but I remember in the old days GNOME
would always print through /usr/bin/lpr, even when CUPS is installed.
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100624/c8ec3628/attachment.pgp
More information about the freebsd-current
mailing list