S or K in the shutdown/reboot scripts...
We are using Cadence tools in our company.Before start using the cadence tools we have to run one script,license file, everytime when machine boots. I've placed that boot time script in /etc/init.d & placed a link in /etc/rc.d/rc5.d as S98startlic.
Now i've to place another script file, which will stop the cadence license file, in the /etc/rc.d/rc0.d & rc6.d. This new script has to run before shutting down/rebooting the machine.
What should i do in /etc/rc0.d such that the license file will be stopped automatically.Shutting down the license should be the first thing to do when some gives shutdown/reboot command
I want to stop the S98startlic by running stoplicense file script. So shud i use K01startlic or S98stoplicense.
i want to start one script (stoplic file) to stop another script(startic).Should i use "S" or "K"..
Please explain what should i do in such a scenario...