ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] nut
@ 2005-01-13 14:56 kastelli
  2005-01-14  6:19 ` Дворников Михаил
  0 siblings, 1 reply; 2+ messages in thread
From: kastelli @ 2005-01-13 14:56 UTC (permalink / raw)
  To: community

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

NUT собран ручками.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] nut
  2005-01-13 14:56 [Comm] nut kastelli
@ 2005-01-14  6:19 ` Дворников Михаил
  0 siblings, 0 replies; 2+ messages in thread
From: Дворников Михаил @ 2005-01-14  6:19 UTC (permalink / raw)
  To: community

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? Сейчас он не создается.
-- 
С уважением, Дворников Михаил.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-14  6:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-13 14:56 [Comm] nut kastelli
2005-01-14  6:19 ` Дворников Михаил

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