ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: кнопка power & poweroff ?
Date: Fri, 15 Aug 2003 00:09:52 +0400
Message-ID: <3F3BEC90.4060104@altlinux.com> (raw)
In-Reply-To: <20030814191325.GL17616@osdn.org.ua>

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

Michael Shigorin пишет:
> On Thu, Aug 14, 2003 at 09:16:42PM +0400, Anton Farygin wrote:
> 
>>>Антон, а как ты думаешь, при каких условиях было бы осмысленно
>>>помещать button в /etc/modules автоматом?  Или ну его?
>>
>>В /etc/modules его не надо помещать ни при каких условиях.
> 
> 
> (ну, для localhost поздно :)
> 
> 
>>Сделай так:
>>1) Объеденить скрипты apmd и acpid в один  (как назвать - сам придумай)
> 
> 
> Или сделать третий, который сможет рулить этими двумя (или
> дергать те же бинарники, но оставив возможность использовать их
> как обычные отдельные пакеты/сервисы)?

Лучше не стоит, ибо будут ситуации, когда вдруг запустятся оба. ;-)

> 
> 
>>2) Скрипт должен смотреть на наличие /proc/acpi и если есть -
>>пробовать подгружать все модули, прописанные например в
>>/etc/sysconfig/acpi
> 
> 
> Угу
> 
> 
>>3) Если нет /proc/acpi (и нет /usr/sbin/acpid) - стартуй apmd
> 
> 
> s/и нет/или нет/ только.
Да, конечно.
> 
> 
>>Вот. Я так думаю - будет правильно.
> 
> 
> Угу.  Надо бы добраться. :)

И по возможности - не затягивай ;-)

Rgds,
Rider

[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]

  reply	other threads:[~2003-08-14 20:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-14  7:49 [sisyphus] " Vadim V. Zhytnikov
2003-08-14  7:33 ` Anton Farygin
2003-08-14  9:14   ` Vadim V. Zhytnikov
2003-08-14 11:54     ` [sisyphus] " Michael Shigorin
2003-08-14 17:16       ` Anton Farygin
2003-08-14 19:13         ` Michael Shigorin
2003-08-14 20:09           ` Anton Farygin [this message]
2003-08-14 20:19             ` Michael Shigorin
2003-08-15  4:22               ` Anton Farygin
2003-08-14  9:52   ` [sisyphus] " Mike Lykov
2003-08-14 10:04     ` Ildar Mulyukov
2003-08-14 17:17     ` Anton Farygin
2003-08-15  8:55       ` Mike Lykov

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=3F3BEC90.4060104@altlinux.com \
    --to=rider@altlinux.com \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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