summaryrefslogtreecommitdiffstats
path: root/initrd/mkdxsinitrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-07-24 00:24:23 +0200
committerDirk von Suchodoletz2006-07-24 00:24:23 +0200
commitfc00da9d4e627ee0022337e41df745cb40b9479c (patch)
treee399a6a6c0f967847534f4ddab9ca3ecc14b95dc /initrd/mkdxsinitrd
parentCheck-in of basic configuration database design: (diff)
downloadcore-fc00da9d4e627ee0022337e41df745cb40b9479c.tar.gz
core-fc00da9d4e627ee0022337e41df745cb40b9479c.tar.xz
core-fc00da9d4e627ee0022337e41df745cb40b9479c.zip
Added function for URI interpretation, enabling URI notation for several
sources (fileget, fileservice, ...), moved local configurable hardware configuration (pcitable.local, Cards.local) to central config directory on server (added to hwdata files by mkdxsinitrd) ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@285 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/mkdxsinitrd')
-rwxr-xr-xinitrd/mkdxsinitrd12
1 files changed, 11 insertions, 1 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd
index 05325f13..dd5d1045 100755
--- a/initrd/mkdxsinitrd
+++ b/initrd/mkdxsinitrd
@@ -3,7 +3,7 @@
# Description: universal (distro independent) generator for initial
# ramdisks for linux diskless clients
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 08-07-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 23-07-2006
# Nico Dietrich
# Felix Endres
#
@@ -663,6 +663,16 @@ if [ -f /etc/dxs/client.cfg/boot.local.default ] ; then
cp /etc/dxs/client.cfg/boot.local.default ${INSTDIR}/etc/boot.local
fi
+# custom hardware configuration files pcitable.local and Cards.local
+if [ -f /etc/dxs/client.cfg/pcitable.local ] ; then
+ cat /etc/dxs/client.cfg/pcitable.local >> \
+ ${INSTDIR}/usr/share/hwdata/pcitable
+fi
+if [ -f /etc/dxs/client.cfg/Cards.local ] ; then
+ cat /etc/dxs/client.cfg/Cards.local >> \
+ ${INSTDIR}/usr/share/hwdata/Cards
+fi
+
# finally copy user-supplied preinit and postinit files
# fixme: where are these files coming from??
#for i in vendor_preinit vendor_postinit ; do