On Sun, Sep 04, 2005 at 09:54:15AM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 03 Sep 2005, Ryan Underwood wrote: > > Invoking the timidity daemon manually is a use case that is specific to > > the timidity daemon and very few other services. There is no reason to > > Which means we should kill that crap and have them all enabled at all times, > I suppose.
I don't understand... > > > Remove all links but the ones in rc0 and rc6 for example, and the package > > > will NOT reinstall any links. > > > > I fail to see the distinction between doing this task by hand and > > allowing update-rc.d to do it instead. Does update-rc.d store a state > > update-rc.d will not remove the symlinks partially. And anything it does is > supposed to be easily modified by the package later (as opposed to something > done without update-rc.d). [..] > > K link is still there. In that case, the advice "remove all links" is > > faulty as it will produce the same results as if update-rc.d were used > > to remove the service from those runlevels. > > I did say remove links BUT in runlevel 0 and 6, didn't I? Leave those K > links alone (after all you DO want to stop the service before a reboot or > shutdown), and the package will not reinstall links. That is what I was asking. So in order for the links NOT to be reinstalled on an upgrade, the K links must remain. So is the following okay to prevent link reinstallation: # update-rc.d -f timidity remove update-rc.d: /etc/init.d/timidity exists during rc.d purge (continuing) Removing any system startup links for /etc/init.d/timidity ... /etc/rc0.d/K99timidity /etc/rc1.d/K99timidity /etc/rc2.d/S99timidity /etc/rc3.d/S99timidity /etc/rc4.d/S99timidity /etc/rc5.d/S99timidity /etc/rc6.d/K99timidity # update-rc.d timidity stop 20 0 1 6 . Adding system startup for /etc/init.d/timidity ... /etc/rc0.d/K20timidity -> ../init.d/timidity /etc/rc1.d/K20timidity -> ../init.d/timidity /etc/rc6.d/K20timidity -> ../init.d/timidity -- Ryan Underwood, <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]