ALT Linux Bugzilla
– Attachment 348 Details for
Bug 3701
respect NUT during shutting down
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
nut support during shutdown
startup-0.8.2-halt-over-nut.patch (text/plain), 531 bytes, created by
Sergey Bolshakov
on 2004-02-16 13:08:34 MSK
(
hide
)
Description:
nut support during shutdown
Filename:
MIME Type:
Creator:
Sergey Bolshakov
Created:
2004-02-16 13:08:34 MSK
Size:
531 bytes
patch
obsolete
>--- startup-0.8.2/rc.d/init.d/halt.orig 2003-06-03 18:02:17 +0300 >+++ startup-0.8.2/rc.d/init.d/halt 2004-02-16 12:02:10 +0200 >@@ -134,6 +134,13 @@ > command=/sbin/poweroff > fi > >+UPSCTL=/sbin/upsdrvctl >+if [ -x "$UPSCTL" -a -f /etc/killpower ]; then >+ action "Attempting to turn the UPS off:" "$UPSCTL" shutdown >+ message="The system is halted" >+ command=/sbin/poweroff >+fi >+ > if [ "$command" = /sbin/poweroff ]; then > # Modprobe apm for automatic poweroff at ATX cases. > /sbin/modprobe apm >/dev/null 2>&1
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3701
: 348