Dryification of shutdown definitions.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>