debian/src/initscripts/etc/rc.shutdown
raw| 1 | #!/bin/sh -e |
| 2 | # |
| 3 | # rc.shutdown |
| 4 | # |
| 5 | # This script is executed by /etc/init.d/rc.local stop. |
| 6 | # Make sure that the script will "exit 0" on success or any other |
| 7 | # value on error. |
| 8 | # |
| 9 | # In order to enable or disable this script just change the execution |
| 10 | # bits. |
| 11 | |
| 12 | if [ -d /etc/shutdown.d ]; then |
| 13 | run-parts /etc/shutdown.d |
| 14 | fi |