Hi,
I am not sure that the startup behaviour of the daemon should depend on
the maintainer scripts executed during installation.
Wouldn't it be better to let the admin decide and configure it? In this
case something like:
# echo -e '#!/bin/bash\nexit 101' > /usr/sbin/policy-rc.d
# chmod +x /usr/sbin/policy-rc.d
# /usr/sbin/policy-rc.d
# echo $?
101
should do the trick.
If you want different daemons to have a different startup behaviour, you
could evaluate the first parameter of policy-rc.d as described in [1].
Thorsten
[1] https://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt