Hi,
I’m on RedHat 7.2 kernel 2.4.9-34
I have successfully added SNNfiles in the rc2.d, rc3.d and rc5.d directories that are linked to my script file in the init.d directory and are called on startup. However I can’t not get any of my KNNfiles to be executed on shutdown/reboot. I have added them to the rc0.d, rc1.d and rc6.d directories and once again linked them to my script file in init.d directory. I can start/stop OK with a “service myservice start” or “service myservice stop”. The only way I have been able to get my KNNfile to be executed on a reboot is to rename it to an existing file name in the rc6.d with a different sequence number, “K25sendmail” for example. It would appear that if I name it after any other name of existing K files in the rc6.d directory it gets called, but if I call it anything else it doesn’t. The documentation does not mention having to register files to e called on shutdown.
What have I not done correctly?
Thanks, Peter |
- Re: reboot rc6.d KNNfiles Peter Kelly
- Re: reboot rc6.d KNNfiles achana
- Re: Migrating from Exchange5.5 to Sendmail Jon Gaudette