summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-01-10 16:08:43 +0100
committerDirk von Suchodoletz2007-01-10 16:08:43 +0100
commit39542a6836ce2abd85a8df04af4229c888a71956 (patch)
tree0434e55a09b44a5fec2de55bfbdf3fa5da7644e2 /initramfs/initrd-stuff/init
parentAs our original filename does not end with .rpm we have to check if this (diff)
downloadcore-39542a6836ce2abd85a8df04af4229c888a71956.tar.gz
core-39542a6836ce2abd85a8df04af4229c888a71956.tar.xz
core-39542a6836ce2abd85a8df04af4229c888a71956.zip
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
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init10
1 files changed, 9 insertions, 1 deletions
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 <dirk@goe.net>, 22-12-2006
+# Dirk von Suchodoletz <dirk@goe.net>, 10-01-2007
# <mj0@uni-freiburg.de> (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