On Red Hat Enterprise Linux, why do my custom init scripts not get executed on shutdown?
Issue
- Custom
/etc/rc.d/init.dscript has been written, but not getting executed on shutdown - Necessary
symlinksare in/etc/rc0.dand/etc/rc6.d - Script in
/etc/rc6.ddoesn't run while reboot the server - The stop command lines in
testscript in/etc/rc6.ddon't execute when rebooting the server
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.