ALT Linux Bugzilla
– Attachment 875 Details for
Bug 6514
/etc/init.d/halt: umount /proc/bus/usb выполняется до передачи UPS команды на отключение.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
скрипт для проверки UPS
apcupsd-upscheck (text/plain), 281 bytes, created by
Sergey Y. Afonin
on 2005-05-13 17:28:49 MSD
(
hide
)
Description:
скрипт для проверки UPS
Filename:
MIME Type:
Creator:
Sergey Y. Afonin
Created:
2005-05-13 17:28:49 MSD
Size:
281 bytes
patch
obsolete
>#!/bin/sh ># check for APC UPS with delayed shutdown ># return 0 if no delay and delay time if exist > >UPSLIST="SMART-UPS" > >RET=`/usr/sbin/apcaccess|egrep -e "$UPSLIST"|wc -l` >[ $RET -ne 0 ] || exit 0 > >MIN=`/usr/sbin/apcaccess|grep DSHUTD|sed -e "s/.*: \([0-9]*\) .*/\1/"` > >exit $MIN
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6514
:
874
| 875