Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 416894 Details for
Bug 543776
sys-power/apcupsd-3.14.13: ebuild enhancement request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/apcupsd-powerfail script
apcupsd-powerfail.init.in (text/plain), 435 bytes, created by
Joe M
on 2015-11-14 02:26:20 UTC
(
hide
)
Description:
/etc/init.d/apcupsd-powerfail script
Filename:
MIME Type:
Creator:
Joe M
Created:
2015-11-14 02:26:20 UTC
Size:
435 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >description='Signal the UPS to kill power in a power failure condition' > >depend() { > need mount-ro >} > >start() { > if [ "$(runlevel | cut -d' ' -f2)" = "0" -a -f "@PWRFAILDIR/powerfail" ] ; then > ebegin 'Signaling UPS to kill power' > /sbin/apcupsd --killpower > eend $? > fi >}
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 543776
:
416890
|
416892
| 416894 |
416896
|
471470