Make-initrd development discussion
 help / color / mirror / Atom feed
From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] master updated
Date: Fri, 26 Apr 2019 14:20:34 +0200
Message-ID: <20190426122034.GK9023@dhcp129-178.brq.redhat.com> (raw)
In-Reply-To: <d13d812a-63a1-2385-4668-2d04f2a39b31@gmail.com>

On Wed, Apr 24, 2019 at 02:13:48PM +0300, Leonid Krivoshein wrote:
> 
> 24.04.2019 13:09, Alexey Gladkov пишет:
> > On Wed, Apr 24, 2019 at 04:01:13AM +0300, Leonid Krivoshein wrote:
> >
> >>> * Добавил возможность вызвать скрипт до и после старта сервиса;

Переделал вызов скриптов. Теперь он похож на то, что было в самых первых
версиях.

> >> До -- это STOP=,модуль, => OK. А после как?
> > Не понял вопроса.
> 
> Как вызывать скрипт после старта сервиса (после стадии, шага 
> инициализации, типа udevd)?

Скрипты из директории /lib/initrd/all вызываются перед и после каждого
сервиса.
Скрипты из директории /lib/initrd/pre/<сервис> вызываются перед сервисом.
Скрипты из директории /lib/initrd/post/<сервис> вызываются после сервиса.

Все скрипты вызываются с аргументами {start|stop} <servicename> [retcode]

> Может имелась ввиду возможность делать остановку в интерактивном режиме 
> после шага?

Нет. Имелось в виду вызов скриптов.

-- 
Rgrds, legion



  reply	other threads:[~2019-04-26 12:20 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 [this message]
2019-04-26 12:32         ` Michael A. Kangin
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=20190426122034.GK9023@dhcp129-178.brq.redhat.com \
    --to=gladkov.alexey@gmail.com \
    --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