summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/suse
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-03-01 23:33:15 +0100
committerDirk von Suchodoletz2007-03-01 23:33:15 +0100
commit0bc0de926455aacd2140c216335b0f91eefe85e2 (patch)
tree384cc529e7d984a2b548201be89d6231cc572504 /initramfs/distro-specs/suse
parentSmall bug ... (diff)
downloadcore-0bc0de926455aacd2140c216335b0f91eefe85e2.tar.gz
core-0bc0de926455aacd2140c216335b0f91eefe85e2.tar.xz
core-0bc0de926455aacd2140c216335b0f91eefe85e2.zip
Heavy cleanup, proper variable assignement for D_XORGBIN (instead of
XBinPath in displayvars), bugfix ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@740 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/suse')
-rw-r--r--initramfs/distro-specs/suse/config-10.11
-rw-r--r--initramfs/distro-specs/suse/config-10.22
-rw-r--r--initramfs/distro-specs/suse/config-default2
-rw-r--r--initramfs/distro-specs/suse/functions-10.23
-rw-r--r--initramfs/distro-specs/suse/functions-default27
5 files changed, 21 insertions, 14 deletions
diff --git a/initramfs/distro-specs/suse/config-10.1 b/initramfs/distro-specs/suse/config-10.1
index 46efb1f1..aba27fc6 100644
--- a/initramfs/distro-specs/suse/config-10.1
+++ b/initramfs/distro-specs/suse/config-10.1
@@ -25,6 +25,7 @@
# D_RCDIRS - runlevel directories relative to /etc
# D_XF86CONFFILE - name and location of XFree/Xorg config file, e.g.
# /etc/X11/xorg.conf or /etc/X11/XF86config, ...
+# D_XORGBIN - name of XFree/Xorg server with absolute path
# D_XFONTPATH - path(es) where X11 fonts are installed (with trailing /*)
# D_DEFAULTCOUNTRY - localization (see common functions)
# D_BOOTLOCAL - script for user specified stuff which should be started
diff --git a/initramfs/distro-specs/suse/config-10.2 b/initramfs/distro-specs/suse/config-10.2
index ae296900..1b35c21f 100644
--- a/initramfs/distro-specs/suse/config-10.2
+++ b/initramfs/distro-specs/suse/config-10.2
@@ -24,6 +24,7 @@
# D_BINDMNT - any code which is specific in bind mount environment
# D_RCDIRS - runlevel directories relative to /etc
# D_XF86CONFFILE - name and location of XFree/Xorg config file, e.g.
+# D_XORGBIN - name of XFree/Xorg server with absolute path
# /etc/X11/xorg.conf or /etc/X11/XF86config, ...
# D_XFONTPATH - path(es) where X11 fonts are installed (with trailing /*)
# D_DEFAULTCOUNTRY - localization (see common functions)
@@ -35,3 +36,4 @@ boot.sysctl boot.ipconfig boot.swap"
D_RODIRSINRW="/etc/opt/gnome/gconf /var/adm /var/lib/texmf /var/lib/rpm \
/var/cache/fontconfig"
D_HWMODTOIGNORE="i8xx-tco ichxrom snd-atiixp-modem intel-rng pata_atiixp"
+D_XORGBIN=/usr/bin/Xorg
diff --git a/initramfs/distro-specs/suse/config-default b/initramfs/distro-specs/suse/config-default
index 66f1cc2c..94fbac4e 100644
--- a/initramfs/distro-specs/suse/config-default
+++ b/initramfs/distro-specs/suse/config-default
@@ -25,6 +25,7 @@
# D_RCDIRS - runlevel directories relative to /etc
# D_XF86CONFFILE - name and location of XFree/Xorg config file, e.g.
# /etc/X11/xorg.conf or /etc/X11/XF86config, ...
+# D_XORGBIN - name of XFree/Xorg server with absolute path
# D_XFONTPATH - path(es) where X11 fonts are installed (with trailing /*)
# D_DEFAULTCOUNTRY - localization (see common functions)
# D_HWMODTOIGNORE - hardware modules which should not tried to load (because
@@ -55,6 +56,7 @@ D_RCDIRS="/init.d/rc0.d /init.d/rc1.d /init.d/rc2.d /init.d/rc3.d \
D_INITSCRIPTS="boot.udev boot.proc boot.shm boot.klog boot.loadmodules \
boot.clock boot.sysctl boot.ipconfig boot.swap"
D_XF86CONFFILE="/etc/X11/xorg.conf"
+D_XORGBIN=/usr/X11R6/bin/Xorg
D_XFONTPATH="/usr/X11R6/lib/X11/fonts/*"
D_DEFAULTCOUNTRY="de"
D_HWMODTOIGNORE="i8xx-tco ichxrom snd-atiixp-modem intel-rng"
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2
index 55864f93..47ce5b19 100644
--- a/initramfs/distro-specs/suse/functions-10.2
+++ b/initramfs/distro-specs/suse/functions-10.2
@@ -245,6 +245,5 @@ Files='\tModulePath\t"/etc/X11/modules"\n
\tFontPath\t"/usr/share/fonts/misc/:unscaled"\n
\tFontPath\t"/usr/share/fonts/75dpi/:unscaled"\n
\tFontPath\t"/usr/share/fonts/100dpi/:unscaled"'
-# where to link /var/X11R6/bin/X too
-XBinPath=/usr/bin/Xorg
+synapticsdrv="/usr/lib/xorg/modules/input/synaptics_drv.so"
}
diff --git a/initramfs/distro-specs/suse/functions-default b/initramfs/distro-specs/suse/functions-default
index 0aff34cc..71792e04 100644
--- a/initramfs/distro-specs/suse/functions-default
+++ b/initramfs/distro-specs/suse/functions-default
@@ -1,15 +1,18 @@
+# Copyright (c) 2003 - 2006 - RZ Uni Freiburg
+# Copyright (c) 2006, 2007 - OpenSLX GmbH
+#
+# This program/file is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found under http://openslx.org
+#
# configuration script for general SuSE to configure linux diskless clients
# (included by init, hwautocfg, servconfig within initial ramdisk after
# inclusion of the main functions file). This file is the main base for the
# several SuSE distro versions
-#
-# this file is distributed under the GPLv2, see ~/openslx/COPYING
-#
-# Dirk von Suchodoletz <dvs@OpenSLX.com>, 22-12-2006
-# mj0 09-11-2006
-#
-# (c) 2006 - RZ Universitaet Freiburg
-# (c) 2006 OpenSLX GmbH
# empty functions are defined at the beginning of /etc/functions
@@ -146,9 +149,10 @@ if [ "x$start_snmp" = "xyes" ] ; then
config_dm_entry () {
local dm="$1"
# should be stated that entries were made (fixmee how??)
+# autologin is defined some other way ...
+# -e "s,.*_AUTOLOGIN.*,DISPLAYMANAGER_AUTOLOGIN=\"\"," \
sed -e "s,DISPLAYMANAGER=.*,DISPLAYMANAGER=\"$start_xdmcp\"," \
-e "s,.*_XSERVER.*,DISPLAYMANAGER_STARTS_XSERVER=\"$dm\"," \
- -e "s,.*_AUTOLOGIN.*,DISPLAYMANAGER_AUTOLOGIN=\"\"," \
-i /mnt/etc/${D_SYSCONFDIR}/displaymanager
# start the display manager as early as possible, but avoid that it is
# started twice during bootup ... late_dm can postpone the start of
@@ -470,8 +474,7 @@ rerun\n# the mkdxsinitrd script to get them applied\n\
esac
}
-# Xorg variable settings. chance to overwrite settings in hwautocfg for
-# xorg.conf
+# Xorg variable settings. Lots of stuff changes for newer Xorg servers
displayvars () {
-XBinPath=/usr/X11R6/bin/Xorg
+synapticsdrv="/usr/X11R6/lib/modules/input/synaptics_drv.o"
}