From 435ca4cc1590d4a51af49b629fba73080bc2583f Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 7 Mar 2006 19:05:28 +0000 Subject: started to add alternative configuration via file (tftp get from server), see DXS Wiki too ... git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@92 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/hwautocfg | 8 ++++++-- initrd/initrd-stuff/bin/servconfig | 7 +++++-- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'initrd/initrd-stuff/bin') diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index 772b658d..7caaa5f3 100755 --- a/initrd/initrd-stuff/bin/hwautocfg +++ b/initrd/initrd-stuff/bin/hwautocfg @@ -4,13 +4,13 @@ # script for linux diskless clients, using hwconfig from # knoppix as base tool # -# Author(s): Dirk von Suchodoletz , 06-02-2006 +# Author(s): Dirk von Suchodoletz , 06-03-2006 # Blabla # Blub # # Copyright: (c) 2003 - 2006 - RZ Universitaet Freiburg # -# Version: 0.3.1a +# Version: 0.3.1b # local functions used within hwautocfg displaysetup () { @@ -315,6 +315,10 @@ Please check that\n hwsetup is properly installed and executable." DRIVERLIST=" disabled unknown ignore pcspkr synaptics keybdev" # driver blacklist (real modules which fail to load) DRIVERLIST=${DRIVERLIST}" hw_random ichxrom kanotix genericwheelusb " +# hack for pseudo modules (not to load) +for i in $DRIVERLIST ; do + echo -e "alias\t$i\tusbcore" >> /etc/modprobe.conf +done # load ide drivers first, takes a while to initialize for DRIVER in cmd64x hpt366 piix slc90e66 cs5520 it821x rz1000 \ triflex aec62xx cs5530 ns87415 sc1200 trm290 alim15x3 \ diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index d80b2e73..7f7b419d 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -4,13 +4,13 @@ # for linux diskless clients (executed within initial # ramdisk) # -# Author(s): Dirk von Suchodoletz , 03-02-2006 +# Author(s): Dirk von Suchodoletz , 07-03-2006 # Blabla # Blub # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.0.2c +# Version: 0.0.2e # check for configuration files to source @@ -62,6 +62,9 @@ Using default\ncountry setting '${D_DEFAULTCOUNTRY}' defined in $0." fi localization $country +####################################################################### +# setup passwd and shadow for local system users + ####################################################################### # dns and ip configuration # hostname of the machine -- cgit v1.2.3-55-g7522