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

Re: dh_installinit...



On Thu, Jun 17, 2004 at 02:25:35PM +0200, Frank Küster wrote:
> > To do so I need the initscript to make a difference if the package is
> > called from postinst (don't exist with error status code) or not (exit
> > with error status code to allow an admin to script something e.g.).
> 
> Why this? Why not just
> 
> invoke-rc.d $INITSCRIPT start || true

Because I do not want to install, configure, etc. the initscript
manually in postinst. I simply use dh_installinit as helper which will
also work if the init-procedure changes somehow or something like this.

-- Balu



Reply to: