ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Terechkov Evgenii <evg@krastel.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Выключение системы
Date: Mon, 13 Mar 2006 16:04:26 +0700
Message-ID: <m3fylmiulh.fsf@evg.krastel.ru> (raw)
In-Reply-To: <200603131135.31133.karelin-ap@mail.ru> =?koi8-r?b?KOvB0sXM?= =?koi8-r?b?yc4g4S4g8C4ncw==?= message of "Mon, 13 Mar 2006 11:35:30 +0300")

"Карелин А. П." пишет:

>> > Где прописать скрипт, который необходимо запустить при выключении
>> > компьютера? (ALM 2.4)
>> Зависит от. Точнее выразитесь, что хотите сделать, 
> Хочу чтобы при выключении компьютера (по halt) файлы из одной папки 
> копировались в другую. 

Проще всего наверно сделать свой init-скрипт и добавить его в runlevel 0,
чтобы исполнялся прямо перед halt.

> Ничего не делаю, т.к. не люблю лазить по сиситеме без знания дела.

Ну так узнайте как и что работает, кто ж мешает :-) ?

P.S.: если не секрет, что вы хотите сделать "на более высоком уровне"?
Backup такой это или ещё что? Просто интересно.



  reply	other threads:[~2006-03-13  9:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13  8:15 Карелин А. П.
2006-03-13  8:27 ` Terechkov Evgenii
2006-03-13  8:35   ` Карелин А. П.
2006-03-13  9:04     ` Terechkov Evgenii [this message]
2006-03-13  9:47       ` Карелин А. П.
2006-03-13 10:37         ` Terechkov Evgenii
2006-03-13 11:19           ` Sergey Vlasov
2006-03-13 12:09           ` Карелин А. П.
2006-03-13 14:07             ` Evgenii Terechkov
2006-03-13 14:26               ` Карелин А. П.
2006-03-13 14:58                 ` Evgenii Terechkov
2006-03-13 10:53         ` Michael Shigorin
2006-03-13 11:06           ` Manchev Viacheslav
2006-03-13 11:50             ` Michael Shigorin

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=m3fylmiulh.fsf@evg.krastel.ru \
    --to=evg@krastel.ru \
    --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