ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] nut and UPS shutdown
@ 2003-07-25  8:02 Grigory Batalov
  2003-07-25  9:29 ` Alexey Borovskoy
  0 siblings, 1 reply; 7+ messages in thread
From: Grigory Batalov @ 2003-07-25  8:02 UTC (permalink / raw)
  To: community

Здравствуйте!

В документации к NUT рекомендуется прописать в shutdown-скрипт
строки типа:

   if (test -f /etc/killpower)
   then
      echo "Killing the power, bye!"
      /usr/local/ups/bin/upsdrvctl shutdown
   fi

Поскольку у нас shutdown - не скрипт, то совершенно непонятно,
куда их вписывать. Кто как поступает?

P.S. 'upsdrvctl shutdown' инициирует выключение UPS
     (и нагрузки, соответственно) при невозможности
     дальнейшей работы от батарей.

-- 
Григорий Баталов,
группа техподдержки
ОАО "Ковдорский ГОК"


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

end of thread, other threads:[~2003-07-30  6:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25  8:02 [Comm] nut and UPS shutdown Grigory Batalov
2003-07-25  9:29 ` Alexey Borovskoy
2003-07-28  7:15   ` Grigory Batalov
2003-07-28  8:15     ` Alexey Borovskoy
2003-07-28  8:17     ` Sergey Bolshakov
2003-07-29 11:16       ` Grigory Batalov
2003-07-30  6:18       ` Grigory Batalov

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