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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
