Add (untested) functions that make wocut suitable to wrap into an initscript.