Maybe I'm missing something, but...
why not just dropping a script in /etc/init.d to detect the situation?
Something like:

        test -e /etc/inittab||exit
        inittab_contains_daemontools && exit # grep magic here
        warn "daemontools will not start, either disable this check
        by doing XXX or add it to inittab by doing YYY"

where XXX is some sysv magic I've long forgotten, and YYY can be either
"run the postinst script" (is it saved anywhere?) or "add this line: $LINE" by hand,
or maybe call the script itself with, say, force-start
("/etc/init.d/daemontools-workaround add-to-inittab" is probably
in violation of some debian policy).


Lorenzo


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to