Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 469138 Details for
Bug 614658
sys-auth/consolekit: runit support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
runit.patch
runit.patch (text/plain), 1014 bytes, created by
Alex Efros
on 2017-04-04 15:32:26 UTC
(
hide
)
Description:
runit.patch
Filename:
MIME Type:
Creator:
Alex Efros
Created:
2017-04-04 15:32:26 UTC
Size:
1014 bytes
patch
obsolete
>diff -uNr a/tools/linux/ck-system-restart b/tools/linux/ck-system-restart >--- a/tools/linux/ck-system-restart 2015-06-21 18:38:32.000000000 +0300 >+++ b/tools/linux/ck-system-restart 2017-04-04 18:17:33.122436307 +0300 >@@ -1,7 +1,10 @@ > #!/bin/sh > > #Try for common tools >-if [ -x "/sbin/shutdown" ] ; then >+if [ ! -e "/dev/initctl" ] && [ -x "/sbin/runit-init" ] ; then >+ /sbin/runit-init 6 >+ exit $? >+elif [ -x "/sbin/shutdown" ] ; then > /sbin/shutdown -r now > exit $? > elif [ -x "/usr/sbin/shutdown" ] ; then >diff -uNr a/tools/linux/ck-system-stop b/tools/linux/ck-system-stop >--- a/tools/linux/ck-system-stop 2015-06-21 18:38:32.000000000 +0300 >+++ b/tools/linux/ck-system-stop 2017-04-04 18:17:21.346435952 +0300 >@@ -1,7 +1,10 @@ > #!/bin/sh > > #Try for common tools >-if [ -x "/sbin/shutdown" ] ; then >+if [ ! -e "/dev/initctl" ] && [ -x "/sbin/runit-init" ] ; then >+ /sbin/runit-init 0 >+ exit $? >+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 614658
: 469138