Merge "init: Support custom shutdown actions"