On Tue, Apr 05, 2011 at 11:57:31AM +0800, waterloo wrote: > How to run a command as root when I shutdown system automatically ? > I use Debian 6 amd64. Make it an init script that is only called in runmodes 0 (for shutdown) and 6 (for reboot)? I think the proper way to do this would be to set Default-Start to "Default-Start: 0 6" in the header.
Attachment:
signature.asc
Description: Digital signature