Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294910 Details for
Bug 348701
apcupsd control script does not invoke shutdown properly
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
/sbin/halt.local
halt.local (text/plain), 480 bytes, created by
Vadym Chepkov
on 2008-02-14 13:42:41 UTC
(
hide
)
Description:
/sbin/halt.local
Filename:
MIME Type:
Creator:
Vadym Chepkov
Created:
2008-02-14 13:42:41 UTC
Size:
480 bytes
patch
obsolete
>#!/bin/bash > ># See if this is a powerfail situation. >if [ -f /etc/apcupsd/powerfail ]; then > ># Remount read only anything that's left mounted. >mount | awk '{ print $3 }' | while read line; do > fstab-decode mount -n -o ro,remount $line >done ># mount /usr in read-only mode to access apcupsd binaries >fstab-decode mount -n -o ro /usr > >echo >echo "APCUPSD will now power off the UPS" >echo >/etc/apcupsd/apccontrol killpower ># Halt the system >exec /sbin/halt -d >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 348701
:
235031
| 294910