* [Comm] nut и настройка upssched.conf
@ 2006-07-15 8:36 Serge
2006-07-15 16:29 ` Serge
0 siblings, 1 reply; 2+ messages in thread
From: Serge @ 2006-07-15 8:36 UTC (permalink / raw)
To: ALT Linux Community
Здравствуйте!
кто то настраивал выключение UPS через заданное время?
вот мои настройки, но ни kак не хочет выключатся, только когда батареи
разряжаются
cat /etc/nut/upssched.conf |grep ^[^#\;]
CMDSCRIPT /usr/bin/upssched-cmd.sh
PIPEFN /var/run/upssched/upssched.pipe
LOCKFN /var/run/upssched/upssched.lock
AT ONBATT * START-TIMER upsgone 10
AT FSD * START-TIMER upsgone 10
AT SHUTDOWN * START-TIMER upsgone 10
AT COMMOK myups@shadow CANCEL-TIMER upsgone
AT ONLINE * EXECUTE ups-back-on-line
cat /usr/bin/upssched-cmd.sh
AT
/usr/sbin/upsmon -fsd
/sbin/shutdown -h -t -1 now
Заранее благодарю за помощь!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] nut и настройка upssched.conf
2006-07-15 8:36 [Comm] nut и настройка upssched.conf Serge
@ 2006-07-15 16:29 ` Serge
0 siblings, 0 replies; 2+ messages in thread
From: Serge @ 2006-07-15 16:29 UTC (permalink / raw)
To: ALT Linux Community
В сообщении от Суббота 15 Июль 2006 11:36 Serge написал(a):
> Здравствуйте!
>
> кто то настраивал выключение UPS через заданное время?
>
> вот мои настройки, но ни kак не хочет выключатся, только когда батареи
> разряжаются
>
> cat /etc/nut/upssched.conf |grep ^[^#\;]
>
> CMDSCRIPT /usr/bin/upssched-cmd.sh
> PIPEFN /var/run/upssched/upssched.pipe
> LOCKFN /var/run/upssched/upssched.lock
> AT ONBATT * START-TIMER upsgone 10
> AT FSD * START-TIMER upsgone 10
> AT SHUTDOWN * START-TIMER upsgone 10
> AT COMMOK myups@shadow CANCEL-TIMER upsgone
> AT ONLINE * EXECUTE ups-back-on-line
>
> cat /usr/bin/upssched-cmd.sh
> AT
> /usr/sbin/upsmon -fsd
> /sbin/shutdown -h -t -1 now
>
> Заранее благодарю за помощь!
разобрался
кому интерестно могу описать как
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-15 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-15 8:36 [Comm] nut и настройка upssched.conf Serge
2006-07-15 16:29 ` Serge
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