[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: diversion/conffile



On Wed, Feb 20, 2002 at 02:13:37AM -0600, Manoj Srivastava wrote:

> >>"martin" == martin f krafft <madduck@madduck.net> writes:
>  martin> okay. so maybe you can advice me. i am providing an add-on to
>  martin> an existing daemon. in order for the add-on to be effective,
>  martin> i need to use a different init.d script. i also would like to
>  martin> disable the original init.d script with chmod 0 since it's
>  martin> not needed and might actually lead to security problems.
> [...]
> 	You should talk to the maintainer of the other package, and
>  have his init.d script look for a file that your package creates
>  (after asking the user, perhaps) that works kinda like
>  /etc/nologin. When the file produced by your package exists, his
>  init.d script exits, and yours works. Remove the file, his wirks,
>  yours does not.

See /etc/crontab for an example of this kind of coordination between cron
and anacron.

-- 
 - mdz



Reply to: