From 4a445a250111c239073613d2b3eef5d49c57b682 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 18 May 2006 16:22:59 +0000 Subject: Moved autofs configuration to servconfig, try to load modules for usb keyboards on fatal errors in initialramfs git-svn-id: http://svn.openslx.org/svn/openslx/ld4@217 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/etc/functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'initrd/initrd-stuff/etc/functions') diff --git a/initrd/initrd-stuff/etc/functions b/initrd/initrd-stuff/etc/functions index 54eddc42..26a361b6 100644 --- a/initrd/initrd-stuff/etc/functions +++ b/initrd/initrd-stuff/etc/functions @@ -55,6 +55,8 @@ if [ -n "$2" ] ; then [ "$DEBUGLEVEL" -gt 2 ] && usleep 20 else echo -e "${error_msg}${e_msg}${error_shell}" + # load usb modules to have keyboard enabled + modprobe -a usbcore uhci-hcd ohci-hcd usbhid 2>&1 >/dev/null /bin/sh echo -n "Reboot now? [y]" read input -- cgit v1.2.3-55-g7522