The user-shutdown macro is called by the shutdown command as the first procedure in shutting down the machine.
User specific shutdown procedures can be inserted in this macro, such as stopping printers, networks or the transaction logger.
shutdown command