summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm')
-rw-r--r--os-plugins/plugins/xserver/OpenSLX/Distro/Base.pm10
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}