[mdlug] rc Scripts Not Running?!

Carl T. Miller carl at carltm.com
Wed Aug 12 16:56:33 EDT 2009


Wojtak, Greg wrote:
> I am going insane with this one.
>
> I have a server (RHEL 5) on which I created a script in /etc/init.d to
> start and stop an application.  * * *  Unless I am
> horribly mistaken about how the startup/shutdown procedure works, I should
> see the script being run on the console just like the other shutdown
> scripts for nfs, vmware-tools, sshd, etc, right?

Yes, I spent a week trying all kinds of stuff trying to get
a script like this to work on CentOS 5.  Other custom scripts
worked, but for some reason I never could determine the one
to run at shutdown would not.  I finally wrote a script named
shutdn that would call my script to unmount cifs shares and
then run shutdown -h now.  It saved what's left of my sanity,
but the mystery is still there.

c





More information about the mdlug mailing list