summaryrefslogtreecommitdiffstats
path: root/initrd/mkdxsinitrd
diff options
context:
space:
mode:
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