aXqd wrote:
I want to make one of my init.d script *START* in the END of bootup process, and meanwhile, *STOP* in the END of shutdown/reboot process.
and later aXqd wrote:
Thank you all for your reply. Let me make my question more specific. How can I use *dependency* way to start my script after xdm starts and stop it after xdm and splash-late stop? By doing this, I can fix a tedious bug.
When I read this, alarm bells go off in my head; let me tell you why.
Firstly, these two goals are not equivalent. boot occurs once per boot :) xdm can be restarted many times. Yes, you are right. I just want to simplify the question at first place. Of more concern to me is that starting something at the end of bootup and stopping it at the end of shutdown is very unusual, because the environments will be very different at these times. Most processes start up and shut down at the same environment level - they nest with other process lifetimes. So normally it would be an error to do what you want to do. But you may have some special requirement; please accept my apologies if so. Yes. It is abnormal. So it is a little tedious to find the right way. I want to do this just because, if I manually adjust the order like this, my bug go away. And we are sort of running out of time to find the root cause to change the binary. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org