opendnssec-*.init: use do_restart_prepare from init-d-script
The new init-d-script from sysvinit 2.93-7 supports a do_restart_prepare handler (see #920847). We need this handler to prevent the daemons from starting up when the init scripts are invoked with the "restart" argument, which is the case on package upgrades. Note that this is safe (no-op) on previous versions of sysvinit that do not support this handler.
Showing with 26 additions and 13 deletions