On Sun, Jan 30, 2005 at 01:09:01PM +1100, Drew Parsons wrote: > 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".
[Well, I should read all of a thread before replying --- sorry] Anyway, that's not the command you want. First, it'll refuse to work (you'd need -f), but also you need to leave at least one of the S (stop) links. Otherwise, upgrades will bring it back (as you note below). update-rc.d is a tool for package maintainer's scripts; its not really intended to be a tool for system administrators. The ones I mentioned in my first message will do far better for a sysadmin. > > 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. See above. There is no bug here. To quote the update-rc.d manpage: If any files /etc/rcrunlevel.d/[SK]??name already exist then updateâ rc.d does nothing. This is so that the system administrator can rearâ range the links, provided that they leave at least one link remaining, without having their configuration overwritten. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]