Subject: Re: "$cupsd is not set properly" (?)
To: None <netbsd-help@netbsd.org>
From: Bob Bernstein <bob@ruptured-duck.com>
List: netbsd-help
Date: 05/16/2002 21:54:18
On Thu, May 16, 2002 at 06:21:50PM -0700, Jeremy C. Reed wrote:

> Hello Bob,

Hi Jeremy; long time, no chit-chat. <g>

> > After putting what I thought were the requisite lines in /etc/rc.local, 

> Do you mean rc.conf?

Nope. rc.local.

> What lines?

if [ -f /usr/pkg/etc/rc.d/cupsd ]; then
   /usr/pkg/etc/rc.d/cupsd start
fi
   
if [ -f /usr/pkg/etc/rc.d/slpd ]; then
      /usr/pkg/etc/rc.d/slpd start
fi

Somewhere along the way I seem to have picked up the notion that that is a
reasonable way to start something not mentioned in /etc/defaults/rc.conf.

> Are you using /usr/pkg//etc/rc.d/cupsd (or that cupsd script)?

Yup.

> Did you set "cupsd=YES" in your /etc/rc.conf?

NO! And of course, as another of the assembled online faithful suggested to
me off-list, that was the missing link. :-) 

I guess my understanding of rc.d in NetBSD is really really messed up. Since
I saw no mention of cupsd in /etc/defaults/rc.conf, I couldn't imagine how
putting it in /etc/rc.conf could have any effect. Silly me. <g>


-- 
Bob Bernstein