|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Aleksey Barabanov 2:5020/400 24 Jan 2004 21:23:48 To : Valentin Nechayev Subject : Re: Slackware -------------------------------------------------------------------------------- Valentin Nechayev wrote: > Лучше NetBSD >=1.6 и FreeBSD 5: > > ==={{{ > The rcorder utility is designed to print out a dependency ordering of > a > set of interdependent files. Typically it is used to find an > execution sequence for a set of shell scripts in which certain files > must be exe- cuted before others. > > Each file passed to rcorder must be annotated with special lines > (which look like comments to the shell) which indicate the > dependencies the files have upon certain points in the sequence, > known as ``conditions'', and which indicate, for each file, which > ``conditions'' may be expected to be filled by that file. > > Within each file, a block containing a series of ``REQUIRE'', > ``PROVIDE'', ``BEFORE'' and ``KEYWORD'' lines must appear. The > format of > the lines is rigid. Each line must begin with a single `#', followed > by a single space, followed by ``PROVIDE:'', ``REQUIRE:'', > ``BEFORE:'', or > ``KEYWORD:''. No deviation is permitted. Each dependency line is > then > followed by a series of conditions, separated by whitespace. > Multiple ``PROVIDE'', ``REQUIRE'', ``BEFORE'' and ``KEYWORD'' lines > may appear, but all such lines must appear in a sequence without any > intervening lines, as once a line that does not follow the format is > reached, parsing stops. > ===}}} Вот это именно то о чем я и говорил. Т.е. внутри скриптов содержатся зависимости. И стартовая последовательность выстраивается на основании этих флагов. В LSB аналогичная вставка в скриптах. И этими флагами пользуется insserv при настройке скриптов и их упорядочивании. И поэтому у меня вопрос как надо правильно указать зависимости для получения правильной стартовой последовательности. Hе уверен, что во всех дистрибутивах одинаковый взгляд на этот вопрос. -- Bye. Aleksey Barabanov <alekseybb at mail.ru> Отправлено через сервер Форумы@mail.ru - http://talk.mail.ru --- ifmail v.2.15dev5.1 * Origin: home (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/78248db89455.html, оценка из 5, голосов 10
|