From: Serge <skompan@kspu.kr.ua>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] nut и настройка upssched.conf
Date: Sat, 15 Jul 2006 19:29:40 +0300
Message-ID: <200607151929.40902.skompan@kspu.kr.ua> (raw)
In-Reply-To: <200607151136.52832.skompan@kspu.kr.ua>
В сообщении от Суббота 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
>
> Заранее благодарю за помощь!
разобрался
кому интерестно могу описать как
prev parent reply other threads:[~2006-07-15 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-15 8:36 Serge
2006-07-15 16:29 ` Serge [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=200607151929.40902.skompan@kspu.kr.ua \
--to=skompan@kspu.kr.ua \
--cc=community@lists.altlinux.org \
/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