[CentOS] Run one-time startup script

Kai Schaetzl maillists at conactive.com
Wed Sep 25 11:00:19 UTC 2013


Kai Schaetzl wrote on Wed, 25 Sep 2013 10:58:51 +0200:

> Google suggests a file 
> /etc/rc.shutdown (or rc.local.shutdown?) which, if I understand correctly, 
> would be carried out after the init stuff for the shutdown (rc0) has been 
> done.

rc.local.shutdown or rc.halt don't work. Seems I have to use an init script 
in rc0.d?

Kai





More information about the CentOS mailing list