From: "Michael A. Kangin" <mak@complife.ru>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] master updated
Date: Fri, 26 Apr 2019 14:32:26 +0200
Message-ID: <2cc67ecd-d18a-d68a-0690-e23988118d1b@complife.ru> (raw)
In-Reply-To: <20190426122034.GK9023@dhcp129-178.brq.redhat.com>
On 04/26/2019 02:20 PM, Alexey Gladkov wrote:
> Скрипты из директории /lib/initrd/all вызываются перед и после каждого
> сервиса.
> Скрипты из директории /lib/initrd/pre/<сервис> вызываются перед сервисом.
> Скрипты из директории /lib/initrd/post/<сервис> вызываются после сервиса.
>
> Все скрипты вызываются с аргументами {start|stop} <servicename> [retcode]
т.е., чтобы выполнить скрипт перед shell, его нужно положить как
/lib/initrd/pre/shell
и он будет вызван как
/lib/initrd/pre/shell start shell
?
next prev parent reply other threads:[~2019-04-26 12:32 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 14:26 Alexey Gladkov
2019-04-23 18:57 ` Leonid Krivoshein
2019-04-23 22:48 ` Michael A. Kangin
2019-04-23 22:57 ` Leonid Krivoshein
2019-04-24 0:47 ` Leonid Krivoshein
2019-04-26 10:05 ` Alexey Gladkov
2019-04-26 10:55 ` Leonid Krivoshein
2019-04-26 11:31 ` Michael Shigorin
2019-04-26 12:21 ` Alexey Gladkov
2019-04-24 1:01 ` Leonid Krivoshein
2019-04-24 10:09 ` Alexey Gladkov
2019-04-24 11:13 ` Leonid Krivoshein
2019-04-26 12:20 ` Alexey Gladkov
2019-04-26 12:32 ` Michael A. Kangin [this message]
2019-04-26 12:39 ` Alexey Gladkov
2019-04-26 17:43 ` [make-initrd] Feature multipath is broken (was: Re: master updated) Alexey Gladkov
2019-04-26 17:59 ` [make-initrd] Feature multipath is broken Leonid Krivoshein
2019-04-26 18:23 ` Michael Shigorin
2019-04-26 18:40 ` Leonid Krivoshein
2019-04-26 18:48 ` [make-initrd] NFS root (was: Feature multipath is broken) Michael Shigorin
2019-04-26 19:07 ` [make-initrd] NFS root Leonid Krivoshein
2019-04-26 19:55 ` Michael Shigorin
2019-04-29 17:06 ` Leonid Krivoshein
2019-04-26 18:50 ` [make-initrd] Feature multipath is broken Alexey Gladkov
2019-04-26 18:43 ` Alexey Gladkov
2019-04-26 18:59 ` Leonid Krivoshein
2019-04-26 19:25 ` Alexey Gladkov
2019-04-24 16:43 ` [make-initrd] master updated Michael A. Kangin
2019-04-24 21:24 ` Alexey Gladkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2cc67ecd-d18a-d68a-0690-e23988118d1b@complife.ru \
--to=mak@complife.ru \
--cc=make-initrd@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git