config: fix generation of init-script
cmd: add option to display doh's version