summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs/gentoo
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-01-20 20:56:11 +0100
committerDirk von Suchodoletz2006-01-20 20:56:11 +0100
commit20dc751c0cc775e6098d9b4d324efa428803047e (patch)
tree18c97cfbb71a47d7270899ec5592dba395fc6df7 /initrd/distro-specs/gentoo
parenteinige fixes - repco funktioniert allerdings noch nicht (diff)
downloadcore-20dc751c0cc775e6098d9b4d324efa428803047e.tar.gz
core-20dc751c0cc775e6098d9b4d324efa428803047e.tar.xz
core-20dc751c0cc775e6098d9b4d324efa428803047e.zip
Heftiges Bugfixing in mkdxsinitrd ... intensiv gecheckt mit SuSE 10.0 -
wieder funktionsfähig. git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@29 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/gentoo')
-rw-r--r--initrd/distro-specs/gentoo/functions-gentoo20
-rw-r--r--initrd/distro-specs/gentoo/servconf19
2 files changed, 20 insertions, 19 deletions
diff --git a/initrd/distro-specs/gentoo/functions-gentoo b/initrd/distro-specs/gentoo/functions-gentoo
new file mode 100644
index 00000000..5f7afa09
--- /dev/null
+++ b/initrd/distro-specs/gentoo/functions-gentoo
@@ -0,0 +1,20 @@
+# initialize boot.ld - skript to be executed during early system startup
+# (before most of the normal boot init scripts)
+# this script should operate like a normal runlevel script
+d_mkbootld () {
+case "$1" in
+ init)
+ echo -e "#!/sbin/runskript\n# skeleton of /etc/${D_INITDIR}/boot.ld \
+written from $0" >/mnt/etc/${D_INITDIR}/boot.ld
+ echo -e '\n\nstart() {' \
+ >>/mnt/etc/${D_INITDIR}/boot.ld
+ echo -e '\tebegin "Running post configuration required by initrd"' \
+ >>/mnt/etc/${D_INITDIR}/boot.ld
+ chmod u+x /mnt/etc/${D_INITDIR}/boot.ld
+ ;;
+ close)
+ echo -e "\teend ${?}\n}" \
+ >>/mnt/etc/${D_INITDIR}/boot.ld
+ ;;
+esac
+}
diff --git a/initrd/distro-specs/gentoo/servconf b/initrd/distro-specs/gentoo/servconf
deleted file mode 100644
index 36c10d3c..00000000
--- a/initrd/distro-specs/gentoo/servconf
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# Description: configuration script for Gentoo to configure
-# linux diskless clients (executed within initial
-# ramdisk after genconfig)
-#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 13-12-2005
-# Blabla
-# Blub
-#
-# Copyright: (c) 2003, 2005 - RZ Universitaet Freiburg
-#
-# Version: 0.3.5k
-
-# check for configuration files to source
-
-# ldap, dhcp, file
-
-