Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 582756 Details for
Bug 689588
>x11-drivers/nvidia-drivers-430 should install nvidia-sleep.sh and systemd service files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
working (for me) nvidia-sleep.sh
nvidia-sleep.sh (text/plain), 868 bytes, created by
Maik
on 2019-07-13 12:21:15 UTC
(
hide
)
Description:
working (for me) nvidia-sleep.sh
Filename:
MIME Type:
Creator:
Maik
Created:
2019-07-13 12:21:15 UTC
Size:
868 bytes
patch
obsolete
>#!/bin/bash > >RUN_DIR="/var/run/nvidia-sleep" >XORG_VT_FILE="${RUN_DIR}"/Xorg.vt_number > >case "$1" in > suspend|hibernate) > /bin/mkdir -p "${RUN_DIR}" > /usr/bin/fgconsole > "${XORG_VT_FILE}" > /usr/bin/chvt 63 > if [[ $? -ne 0 ]]; then > exit $? > fi > /bin/echo "$1" > /proc/driver/nvidia/suspend > exit $? > ;; > resume) > /bin/echo "$1" > /proc/driver/nvidia/suspend > # > # Check if Xorg was determined to be running at the time > # of suspend, and whether its VT was recorded. If so, > # attempt to switch back to this VT. > # > if [[ -f "${XORG_VT_FILE}" ]]; then > XORG_PID=$(cat "${XORG_VT_FILE}") > /bin/rm "${XORG_VT_FILE}" > /usr/bin/chvt "${XORG_PID}" > fi > exit 0 > ;; > *) > exit 1 >esac
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 689588
:
582756