Re: debian rc scripts
On Mon, Jan 15, 2001 at 02:06:37AM -0500, Chris Ruffin wrote:
> Is there a good reason why packages that include rc scripts in
> /etc/init.d don't have a means of specifying what the default sequence
> it will be start / stopped?
they do. it's in the postinst script.
> Redhat does this with a chkconfig: field in each init script. Now, I
> don't suggest that we need to do this simply because Redhat does, but
> I recently ran into a problem with some locally-reordered rc scripts
> that I wanted to set to "package default", i.e., how it was set in
> the postinst. The only way I could figure out how to do this is to
> reinstall the package.
grep update-rc.d /var/lib/dpkg/info/<PACKAGENAME>.postinst
> That isn't so bad, but if we're going to have an update-rc.d defaults
> option, shouldn't that set the default as determined by the package
> maintainer, instead of a predetermined default for all scripts when
> using update-rc.d?
possibly a good idea. feel free to submit a patch which implements it.
craig
--
craig sanders
Reply to: