summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs/gentoo
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-03-31 00:19:08 +0200
committerDirk von Suchodoletz2006-03-31 00:19:08 +0200
commit54af05f4c6dbddd150b02004dd7ce83386a80f9c (patch)
tree0da72e485a85c0f26fc80694c4f542aac575c7c4 /initrd/distro-specs/gentoo
parentfixed halt ... (diff)
downloadcore-54af05f4c6dbddd150b02004dd7ce83386a80f9c.tar.gz
core-54af05f4c6dbddd150b02004dd7ce83386a80f9c.tar.xz
core-54af05f4c6dbddd150b02004dd7ce83386a80f9c.zip
halt, reboot in runlevel 0 and 6 ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@135 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/gentoo')
-rw-r--r--initrd/distro-specs/gentoo/functions-2005.18
1 files changed, 5 insertions, 3 deletions
diff --git a/initrd/distro-specs/gentoo/functions-2005.1 b/initrd/distro-specs/gentoo/functions-2005.1
index 1cdc163c..7852853c 100644
--- a/initrd/distro-specs/gentoo/functions-2005.1
+++ b/initrd/distro-specs/gentoo/functions-2005.1
@@ -2,11 +2,11 @@
# linux diskless clients (executed within initial
# ramdisk after genconfig)
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 30-03-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 31-03-2006
#
# Copyright: (c) 2006 - RZ Universitaet Freiburg
#
-# Version: 0.0.1c
+# Version: 0.0.1d
# distro specific stuff to initialize
preinit () {
@@ -17,8 +17,10 @@ postinit () {
:
}
+# distro specific general function called from servconfig script
config_distro () {
-echo -e "DXS-VERSION=4.0a\INITRAMFS-GEN-DATE=$date" >> /mnt/etc/SuSE-release
+echo -e "dxs version 4.0a\initramfs generation date $date" \
+ >> /mnt/etc/gentoo-release
}
# udev service - not checked!