#!/bin/sh -e # # rc.shutdown # # This script is executed by /etc/init.d/rc.local stop. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. if [ -d /etc/shutdown.d ]; then run-parts /etc/shutdown.d fi