diff options
author | Dirk von Suchodoletz | 2010-08-06 22:54:16 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2010-08-06 22:54:16 +0200 |
commit | b6eaab43911e5c1cb03ea98b188c75bcbfb28563 (patch) | |
tree | fbc564ed276dae14b4ebf7b02f136f51fddb03dd /os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm | |
parent | Fixed typo in variable ... (diff) | |
download | core-b6eaab43911e5c1cb03ea98b188c75bcbfb28563.tar.gz core-b6eaab43911e5c1cb03ea98b188c75bcbfb28563.tar.xz core-b6eaab43911e5c1cb03ea98b188c75bcbfb28563.zip |
Some minor cleanups for the re-written Xserver plugin ... still to be
tested.
Diffstat (limited to 'os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm')
-rw-r--r-- | os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm index 879af5ea..51c1c60b 100644 --- a/os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm @@ -57,13 +57,15 @@ sub setupXserverScript # xserver.sh (base part) # written by OpenSLX-plugin 'xserver' (via xserver/Distro/Base.pm module) + # generating the base configuration file (might be split into several + # files for newer Xorg servers) echo -e "# ${xfc#/mnt*}\n# autogenerated X hardware configuration by \ the xserver plugin in OpenSLX stage3\n# DO NOT EDIT THIS FILE BUT THE PLUGIN \ - INSTEAD" > ${xfc} + INSTEAD" >${xfc} # using variables defined in XX_xserver.sh - echo -e "${x_modpath}\n${x_srvflags}\n${x_modules}" >> ${xfc} - echo -e "${x_keyboard}\n${x_mouse}\n${x_videocard}" >> ${xfc} - echo -e "${x_monitor}\n${x_screen}\n${x_srvlayout}\n${x_dri}" >> ${xfc} + echo -e "${x_modpath}\n${x_srvflags}\n${x_modules}" >>${xfc} + echo -e "${x_keyboard}\n${x_mouse}\n${x_videocard}" >>${xfc} + echo -e "${x_monitor}\n${x_screen}\n${x_srvlayout}\n${x_dri}" >>${xfc} # if no module was detected, stick to vesa module if [ -n "$xmodule" ] ; then sed "s/vesa/$xmodule/;s/\"us\"/\"${XKEYBOARD}\"/" -i ${xfc} |