Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Vitaly Mayatskih                     2:5002/48.9    28 Jun 2006  18:32:23
 To : Dmitry Meleshkin
 Subject : Re: Скpипт
 -------------------------------------------------------------------------------- 
 
 
 > VM>         Офоpмить соответствующим обpазом и положить в /etc/init.d с
 > VM> последующей установкой запуска на нужном runlevel'е.
 > А поконкpетнее можно? Как офоpмить 
 
         Как душе угодно. Главное, чтобы работало.
 
 > и как положить на runlevel 5 (по-моему 5... загpузка X-ов, в общем)?
         
 ,----[ /etc/rc5.d/README ]
 | The scripts in this directory are executed each time the system enters
 | this runlevel.
 | 
 | The scripts are all symbolic links whose targets are located in
 | /etc/init.d/ .
 | 
 | To disable a service in this runlevel, rename its script in this directory
 | so that the new name begins with a 'K' and a two-digit number, where the
 | number is the difference between the two-digit number following the 'S'
 | in its current name, and 100.  To re-enable the service, rename the script
 | back to its original name beginning with 'S'.
 |
 | For a more information see /etc/init.d/README.
 `----
 
 ,----[ /etc/init.d/README ]
 |         Configuration of System V init under Debian GNU/Linux
 |
 | Most Unix versions have a file here that describes how the scripts
 | in this directory work, and how the links in the /etc/rc?.d/ directories
 | influence system startup/shutdown.
 | 
 | For Debian, this information is contained in the policy manual, chapter
 | "System run levels and init.d scripts".  The Debian Policy Manual is
 | available at:
 | 
 |     http://www.debian.org/doc/debian-policy/#contents
 | 
 | The Debian Policy Manual is also available in the Debian package
 | "debian-policy".  When this package is installed, the policy manual can be
 | found in directory /usr/share/doc/debian-policy. If you have a browser
 | installed you can probably read it at
 | 
 |     file://localhost/usr/share/doc/debian-policy/
 | 
 | Some more detailed information can also be found in the files in the
 | /usr/share/doc/sysv-rc directory.
 | 
 | Debian Policy dictates that /etc/init.d/*.sh scripts must work properly
 | when sourced.  The following additional rules apply:
 | 
 | * /etc/init.d/*.sh scripts may not rely for their correct functioning
 |   on their being sourced rather than executed.  That is, they must work
 |   properly when executed too. They must include "#!/bin/sh" at the top.
 | 
 | * /etc/init.d/*.sh scripts must conform to the rules for sh scripts as
 |   spelled out in the Debian policy section entitled "Scripts" (?10.4).
 `----
 
 --- KNode/0.10.2
  * Origin: RLU #331092 (2:5002/48.9)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Скpипт   Dmitry Meleshkin   25 Jun 2006 01:56:56 
 Re: Скpипт   Victor Wagner   26 Jun 2006 10:01:38 
 Re: Скpипт   Kirill Frolov   28 Jun 2006 19:51:43 
 Re: Скpипт   Victor Wagner   28 Jun 2006 20:16:09 
 Re: Скpипт   Vitaly Mayatskih   26 Jun 2006 08:49:52 
 Re: Скpипт   Dmitry Meleshkin   27 Jun 2006 19:27:21 
 Re: Скpипт   Kirill Frolov   28 Jun 2006 19:50:42 
 Re: Скpипт   Vitaly Mayatskih   28 Jun 2006 18:32:23 
 Скpипт   Alexander Stavitsky   26 Jun 2006 18:37:34 
 Re: Скpипт   Kirill Frolov   28 Jun 2006 19:46:39 
Архивное /ru.linux/28288c6c15f3.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional