Re: dh_installinit...
On Mon, May 10, 2004 at 04:20:18PM +0200, Thomas -Balu- Walter wrote:
> I'm not sure what would be best practice to avoid those errors, because
> the admin might have to configure the video device first anyway (though
> the default /dev/video0 is usually a nice guess).
>
> Have an /etc/default/camsource where the admin has to enable the daemon
> setting $START_CAMSOURCE?
> The init script could display something like
> "Please configure camsource using /etc/camsource.conf and enable it in
> /etc/default/camsource if you want to use init to start it."
> if not enabled...
>
> Use --no-start with dh_installinit and stop the daemon manually on
> uninstall in prerm?
>
> Other?
Let it fail to start; simply don't allow this to break the postinst.
--
- mdz
Reply to: