Leendert Meyer wrote:
1. Did you read /etc/init.d/README and /etc/init.d/skeleton? Also 'man insserv' (the 'DESCRIPTION' section) has usefull info.
2. The glue is /etc/init.d/rc. It calls the S??xxx scripts with the 'start' parameter, and the K??xxx with the stop parameter.
Dear Leendert, Thank you very much, I should have read the README before posting, but haven't formed that habit yet ;)... It do clarify much, now I am in process of understanding the skeleton...
The initscripts need to be in /etc/init.d by convention (LSB I think). Also, when creating a new service, it might be a good idea to start from /etc/init.d/skeleton. You do not need all of it, see the init.d/ directory for plenty of examples. ;)
I thought that it would not be quite difficult, but it seems I need more basic knowledge.
It seems Sergey unintentionally "disguised" his real problem well.
The problem wasn't actually to make xmms autostart with the boot, I was just trying to do something "on my own" with that scripts and starting xmms was the first thing which came to my mind. Can you point me some good documentation for it? Thank you very much, Regards, -- Sergey Mkrtchyan Scientific Researcher Department of Molecular Physics, Faculty of Physics, Yerevan State University Tel: (374-10) 55-43-41 Fax: (374-10) 57-76-89