summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-21 23:28:43 +0200
committerDirk von Suchodoletz2008-08-21 23:28:43 +0200
commit264eeb6245eda8086b24b83ce8e74c61b70f60e7 (patch)
treec3f23292b6de6866f83ef59e1ffd6d8e1565faf8 /os-plugins
parent* slxconfig and slxos-plugin now treat the name 'default' as an alias for (diff)
downloadcore-264eeb6245eda8086b24b83ce8e74c61b70f60e7.tar.gz
core-264eeb6245eda8086b24b83ce8e74c61b70f60e7.tar.xz
core-264eeb6245eda8086b24b83ce8e74c61b70f60e7.zip
Fixed stupid bug which prevented start of X on SuSE10.2, hints on Debian moved ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2074 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/xserver/OpenSLX/Distro/Debian.pm8
-rw-r--r--os-plugins/plugins/xserver/XX_xserver.sh2
2 files changed, 8 insertions, 2 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Debian.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Debian.pm
index fe43b2e6..3836faf4 100644
--- a/os-plugins/plugins/xserver/OpenSLX/Distro/Debian.pm
+++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Debian.pm
@@ -40,4 +40,10 @@ sub setupXserverScript
return $script;
}
-1; \ No newline at end of file
+# stage3 script might need to add special path /var/X11R6/bin to the PATH variable
+# # fixme!! add path directly to /etc/profile!?
+# #[ "x$addpath" != "x" ] && \
+# # echo -e "# added path component by $0: $date\n\
+# #PATH=\"\$PATH:/var/X11R6/bin\"" >>/mnt/etc/profile
+
+1;
diff --git a/os-plugins/plugins/xserver/XX_xserver.sh b/os-plugins/plugins/xserver/XX_xserver.sh
index d607321b..25fef443 100644
--- a/os-plugins/plugins/xserver/XX_xserver.sh
+++ b/os-plugins/plugins/xserver/XX_xserver.sh
@@ -179,9 +179,9 @@ a\ \ InputDevice\ \ "Synaptics TP"\ \ \ \ \ \ "SendCoreEvents"
s|# Modelname.*| Modelname \"$modl\"|" -i $xfc
[ -n "$size" ] && \
sed -e "s|# DisplaySi.*| DisplaySize $size|" -i $xfc
+ fi
# run distro specific generated stage3 script
[ -e /mnt/opt/openslx/plugin-repo/xserver/xserver.sh ] && \
. /mnt/opt/openslx/plugin-repo/xserver/xserver.sh
- fi
fi
fi