Commit ac4176a5 authored by Cyril Brulebois's avatar Cyril Brulebois

Add support for dpms={false,true} through the kernel command line to pass…

Add support for dpms={false,true} through the kernel command line to pass {-dpms,+dpms} to Xorg (Closes: #695270).
parent 0b092f19
rootskel-gtk (1.29) UNRELEASED; urgency=medium
* Add support for dpms={false,true} through the kernel command line
to pass {-dpms,+dpms} to Xorg (Closes: #695270).
-- Cyril Brulebois <kibi@debian.org> Fri, 14 Feb 2014 15:53:09 +0300
rootskel-gtk (1.28) unstable; urgency=low
[ Dmitrijs Ledkovs ]
......
# Let X pick its default for DPMS, but adjust if requested:
if grep -qs dpms=false /proc/cmdline; then
DPMS=-dpms
elif grep -qs dpms=true /proc/cmdline; then
DPMS=+dpms
fi
if [ "$DEBIAN_FRONTEND" = gtk ] && [ -z "$LIVE_INSTALLER_MODE" ]; then
trap : SIGUSR1
(trap '' SIGUSR1; exec Xorg -noreset -nolisten tcp) &
(trap '' SIGUSR1; exec Xorg $DPMS -noreset -nolisten tcp) &
wait
export DISPLAY=:0
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment