nbd-proxy: replace hook dir with a single executable

A future change will run the executable asynchronously. With a directory
of hooks, this gets overly complicated.

Replace the directory-of-hooks concept with a single hook. The hook
itself can then spawn multiple hooks if required (eg, with run-parts).

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2 files changed