ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Hihin Ruslan <ruslandh@yahoo.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] P8 скрипт при выключении системы
Date: Thu, 19 May 2016 07:02:43 +0300
Message-ID: <201605190702.50793@ruslandh> (raw)
In-Reply-To: <CAAykdnw_V0ZT=7QU3j315W==7EdNvTP4j+LSnTbYXor8NRAJ-A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

Здравствуйте Il'ya
  В сообщении от 19 мая 2016 Il'ya написал(a):
> Как заставить скрипт (убивает все процессы на
> примонтированном сетевом ресурсе и отмонтиирует его)
> гарантрованно автоматически выполнятся при выключении системы,
> на первейшей стадии выключения?

Написать unit systemd и связать его с какой-то из целей, например 
remote-fs-pre.target ?

-- 
  А ещё говорят так  (fortune): 
 
I enjoy the time that we spend together. 
________________________________________________________________________
С уважением Хихин Руслан 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      reply	other threads:[~2016-05-19  4:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-19  2:28 Il'ya
2016-05-19  4:02 ` Hihin Ruslan [this message]

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=201605190702.50793@ruslandh \
    --to=ruslandh@yahoo.com \
    --cc=community@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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git