From fc00da9d4e627ee0022337e41df745cb40b9479c Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 23 Jul 2006 22:24:23 +0000 Subject: 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 --- initrd/mkdxsinitrd | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'initrd/mkdxsinitrd') 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 , 08-07-2006 +# Author(s): Dirk von Suchodoletz , 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 -- cgit v1.2.3-55-g7522