summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-03-30 23:14:48 +0200
committerDirk von Suchodoletz2006-03-30 23:14:48 +0200
commit4e0ad0cb16445b296cf0c70c7111626c577083e3 (patch)
tree113c9c8de48d0f80dfe68a3e3dd1af6d7d55994a /initrd/distro-specs
parentmore debug level, exclude-common for rsync (files and directories common (diff)
downloadcore-4e0ad0cb16445b296cf0c70c7111626c577083e3.tar.gz
core-4e0ad0cb16445b296cf0c70c7111626c577083e3.tar.xz
core-4e0ad0cb16445b296cf0c70c7111626c577083e3.zip
mostly bugfixes and small improvements ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@133 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs')
-rw-r--r--initrd/distro-specs/gentoo/functions-2005.12
-rw-r--r--initrd/distro-specs/suse/functions-9.313
2 files changed, 8 insertions, 7 deletions
diff --git a/initrd/distro-specs/gentoo/functions-2005.1 b/initrd/distro-specs/gentoo/functions-2005.1
index 30006b3a..1cdc163c 100644
--- a/initrd/distro-specs/gentoo/functions-2005.1
+++ b/initrd/distro-specs/gentoo/functions-2005.1
@@ -18,7 +18,7 @@ postinit () {
}
config_distro () {
- :
+echo -e "DXS-VERSION=4.0a\INITRAMFS-GEN-DATE=$date" >> /mnt/etc/SuSE-release
}
# udev service - not checked!
diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3
index 83ec77f6..d9ac0ecb 100644
--- a/initrd/distro-specs/suse/functions-9.3
+++ b/initrd/distro-specs/suse/functions-9.3
@@ -4,7 +4,7 @@
# functions file). This file is the main base for the
# following SuSE distributions
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 25-03-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 30-03-2006
#
# Copyright: (c) 2006 - RZ Universitaet Freiburg
#
@@ -23,19 +23,20 @@ udevstart
# distro specific function called from servconfig script
config_distro () {
# enable magic sysrequest for the clients
-echo -e "# /etc/sysconfig/sysctl - file modified by $0 version $version"\
+echo -e "# /etc/${D_SYSCONFDIR}/sysctl - file modified by $0 version $version"\
> /mnt/etc/${D_SYSCONFDIR}/sysctl.new
sed -e "s,ENABLE_SYSRQ=.*,ENABLE_SYSRQ=\"yes\"," \
/mnt/etc/${D_SYSCONFDIR}/sysctl > /etc/sysctl
cat /etc/sysctl >> /mnt/etc/${D_SYSCONFDIR}/sysctl
# add specific path /var/X11R6/bin ...
-echo -e "# stuff generated by $0 (out of InitRD written $date)\n\
-test \"\$UID\" -ge 100 && PATH=\"\$PATH:/var/X11R6/bin:.\"\n\
+echo -e "# stuff generated by $0 (out of InitRD written $date)\n\
+PATH=\"\$PATH:/var/X11R6/bin\"\n\
+test \"\$UID\" -ge 100 && PATH=\"\$PATH:.\"\n\
QTDIR=/usr/lib/qt3\nexport QTDIR\nno_proxy='localhost'\n\
-export no_proxy" > /etc/SuSEconfig/profile
+export no_proxy" > /mnt/etc/SuSEconfig/profile
+echo -e "DXS-VERSION=4.0a\INITRAMFS-GEN-DATE=$date" >> /mnt/etc/SuSE-release
}
-
# udev/hotplug - auto device discovery service
udev_hotplug () {
local result=0