Browse Source

Removed hardcoded modprobes from mkinitrd/initrdinit.sh

boot-lvm
Alejandro Mery 17 years ago
parent
commit
07ed305ca7
  1. 20
      base/mkinitrd/initrdinit.sh

20
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

Loading…
Cancel
Save