ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Дворников Михаил" <m_dvor@soc.adm.yar.ru>
To: community@altlinux.ru
Subject: Re: [Comm] nut
Date: Fri, 14 Jan 2005 09:19:22 +0300
Message-ID: <41E7646A.8040004@soc.adm.yar.ru> (raw)
In-Reply-To: <200501131456.j0DEujfd042877@www10.pochta.ru>

kastelli@smtp.ru пишет:
> У меня стоин nut-2.0.0 и прекрасно выключает машину,
> когда батаеря разряжается.

Мои настройки:
upsmon.conf:
  NOTIFYFLAG ONLINE SYSLOG
  NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
  NOTIFYFLAG LOWBATT  SYSLOG+WALL+EXEC
  POWERDOWNFLAG /etc/killpower
  # NOTIFYCMD /usr/....

Нужно указать:
  NOTIFYCMD shutdown  ?

Нужно использовать upsshed.conf ?
В upsshed.conf создавал таймеры и указывал свой скрипт для выключения,
например создать файл. Но этот скрипт не запускается,
хотя в логах есть сообщение о переходе на батарею (NOTIFYFLAG ONBATT).

1) Как сделать выключение компьютера через 10 минут работы от батареи
или при разряде батареи?
2) Для чего нужен /etc/killpower? Сейчас он не создается.
-- 
С уважением, Дворников Михаил.


      reply	other threads:[~2005-01-14  6:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13 14:56 kastelli
2005-01-14  6:19 ` Дворников Михаил [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=41E7646A.8040004@soc.adm.yar.ru \
    --to=m_dvor@soc.adm.yar.ru \
    --cc=community@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 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