On Sun, 2005-01-30 at 12:40 +1100, Drew Parsons wrote: 
> On Sat, 2005-01-29 at 14:46 -0500, Anthony DeRobertis wrote:
> > On Thu, Jan 27, 2005 at 08:38:47AM +1100, Drew Parsons wrote:
> > 
> > > OK.  You want to be able to invoke the daemon when you want it, and you
> > > also never want it invoked automatically at boot.
> > 
> > Why not disable it in rc.X (or equivelent, if you're not using
> > SysV-style). If you're not familiar with the way the symlinks there
> > work, there are several utilities and documents to help.
> 
> If that's all that the system administrator wants, then it's quite
> simple to manipulate the rc symlinks using update-rc.d.  I don't think
> it's the package's responsibility to call update-rc.d in this way on
> behalf of the administrator.
> 

Thinking about it even more, I think you're spot on, Anthony.  Your
solution is precisely the one Dan wanted in the first place.

Dan, the command you want is "update-rc.d xprint remove".  This will
prevent Xprt from being started up at boot.  If later you want it to
start at boot as normal, then you run "update-rc.d xprint defaults".

I think what I will do is back out the patch which
introduced /etc/default/xprint.  It's shouldn't be needed.  However, I
won't do this just yet since currently the symlinks will be created
again when you upgrade.  This sounds to me like a bug in dh_installinit,
or in the update-rc.d infrastructure, since changes made by the system
administrator to config files in /etc are not supposed to be affected by
upgrades.

Drew





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to