Peter Kelly wrote:
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

Hi !
Try coding a chkconfig --level , to whatever level u boot to, see if it boots up like that
arthur
begin:vcard 
n:Chan;Arthur
tel;work:1.718.633.5892
x-mozilla-html:TRUE
url:www.saysit.com
org:SAYS I.T.
adr:;;234 E 2nd Street;Brooklyn;New York;11218-2314;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Partner
note;quoted-printable:This message and all attachments are confidential.=0D=0AThey are meant solely for the addressee.=0D=0AAny authorised use or dessemination is prohibited.=0D=0AEmails are liable to unauthorised alterations.=0D=0ANeither SAYS I.T. nor any of its partners or subsidiaries or affiliates=0D=0Ashall be responsible for the message if altered, changed or falsified.
x-mozilla-cpt:;25408
fn:Arthur Chan
end:vcard


Reply via email to