From 07ed305ca7268acf2c03d94b19da5cb42ae61cd8 Mon Sep 17 00:00:00 2001
From: Alejandro Mery <amery@opensde.org>
Date: Fri, 8 Feb 2008 18:54:46 -0300
Subject: [PATCH] Removed hardcoded modprobes from mkinitrd/initrdinit.sh

---
 base/mkinitrd/initrdinit.sh | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git a/base/mkinitrd/initrdinit.sh b/base/mkinitrd/initrdinit.sh
index 8fc4e1e8c..47d180ac2 100644
--- a/base/mkinitrd/initrdinit.sh
+++ b/base/mkinitrd/initrdinit.sh
@@ -3,7 +3,7 @@
 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
 #
 # Filename: package/.../mkinitrd/initrdinit.sh
-# Copyright (C) 2006 The OpenSDE Project
+# Copyright (C) 2006 - 2008 The OpenSDE Project
 # Copyright (C) 2005 - 2006 The T2 SDE Project
 #
 # More information can be found in the files COPYING and README.
@@ -43,24 +43,6 @@ echo "Triggering coldplug ..."
 udevtrigger
 udevsettle
 
-echo "Loading additional subsystem and filesystem driver ..."
-# hack to be removed
-#modprobe sbp2
-
-# well some hardcoded help for now ...
-#modprobe ide-generic
-#modprobe ide-disk
-#modprobe ide-cd
-#modprobe sd_mod
-#modprobe sr_mod
-#modprobe sg
-
-# the modular filesystems ...
-for x in /lib/modules/*/kernel/fs/{*/,}*.*o ; do
-	x=${x##*/} ; x=${x%.*o}
-	modprobe $x
-done
-
 echo "Mounting rootfs ..."
 
 # get the root device and init