* Quick workaround for tty-backgrounds not working on Linux 2.6.26:

/proc/sys/kernel/fbcondecor is now suddenly named /proc/sys/fbcondecor.
  Might be a bug.

svn path=/nixos/trunk/; revision=12784
This commit is contained in:
Eelco Dolstra 2008-09-02 09:51:44 +00:00
parent 5fb3cdc82b
commit ab80a34ea4

View File

@ -28,7 +28,9 @@ rec {
# Critical: tell the kernel where to find splash_helper. It calls # Critical: tell the kernel where to find splash_helper. It calls
# this program every time we switch between consoles. # this program every time we switch between consoles.
echo ${splashutils}/${splashutils.helperName} > ${splashutils.helperProcFile} helperProcFile=${splashutils.helperProcFile}
if test -e /proc/sys/fbcondecor; then helperProcFile=/proc/sys/fbcondecor; fi
echo ${splashutils}/${splashutils.helperName} > $helperProcFile
# For each console... # For each console...
for tty in ${toString (map (x: x.tty) backgrounds)}; do for tty in ${toString (map (x: x.tty) backgrounds)}; do