Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 514782 Details for
Bug 644548
sys-auth/consolekit - openrc-init support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
consolekit-openrc.patch
consolekit-openrc.patch (text/plain), 813 bytes, created by
Brian Evans (RETIRED)
on 2018-01-14 14:18:17 UTC
(
hide
)
Description:
consolekit-openrc.patch
Filename:
MIME Type:
Creator:
Brian Evans (RETIRED)
Created:
2018-01-14 14:18:17 UTC
Size:
813 bytes
patch
obsolete
>--- a/ck-system-restart 2018-01-14 08:56:16.091767562 -0500 >+++ b/ck-system-restart 2017-04-19 21:20:50.223910392 -0400 >@@ -1,7 +1,10 @@ > #!/bin/sh > >+if [ $(cat /proc/1/comm) = "openrc-init" ] ; then >+ /sbin/openrc-shutdown -r >+ exit $? > #Try for common tools >-if [ -x "/sbin/shutdown" ] ; then >+elif [ -x "/sbin/shutdown" ] ; then > /sbin/shutdown -r now > exit $? > elif [ -x "/usr/sbin/shutdown" ] ; then >--- a/ck-system-stop 2018-01-14 08:56:16.091767562 -0500 >+++ b/ck-system-stop 2017-04-19 21:20:50.223910392 -0400 >@@ -1,7 +1,10 @@ > #!/bin/sh > >+if [ $(cat /proc/1/comm) = "openrc-init" ] ; then >+ /sbin/openrc-shutdown -p >+ exit $? > #Try for common tools >-if [ -x "/sbin/shutdown" ] ; then >+elif [ -x "/sbin/shutdown" ] ; then > /sbin/shutdown -h now > exit $? > elif [ -x "/usr/sbin/shutdown" ] ; then >
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 644548
: 514782