From 39542a6836ce2abd85a8df04af4229c888a71956 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 10 Jan 2007 15:08:43 +0000 Subject: Busybox is now properly named for the two supported architectures: i386 and x86_64. mkdxsinitrd includes usb keyboard stuff per default and init loads the modules rather early (otherwise on non-legacy machines debugging might be difficult) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@609 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'initramfs/initrd-stuff/init') diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index ca8bd984..446439b8 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -4,7 +4,7 @@ # # this file is distributed under the GPLv2, see ~/openslx/COPYING # -# Dirk von Suchodoletz , 22-12-2006 +# Dirk von Suchodoletz , 10-01-2007 # (xenbr), 27-09-2006 # # (c) 2006 - RZ Universitaet Freiburg @@ -62,6 +62,13 @@ COWSIZE="50%" RWDIR=/dev/shm NFSRO="nfs" +# load usb modules for keyboard (reenable usb keyboards, otherwise the +# admin has to wait until second run of hwsetup late in stage3) +( for mod in usbcore uhci-hcd ohci-hcd usbhid; do + modprobe -q $mod 2>/dev/null +done ) & + + # run pre init script and user defined preinit.local, copied by mkdxsinitrd # from /var/lib/openslx/config/... in stage2 preinit @@ -259,6 +266,7 @@ fi for mod in ${NWMODULES}; do modprobe ${MODPRV} $mod || error "$init_errnwad" done + # set up loopback networking (ipsetup - function defined in /etc/functions) ipsetup 127.0.0.1 255.0.0.0 0.0.0.0 127.255.255.255 lo -- cgit v1.2.3-55-g7522