Zwangsload aller module wieder eingebaut - hw erkennung mag irgendwie nicht

git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_initrd@6255 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2011-11-14 13:16:10 +00:00
parent b64c90358d
commit 5edfe53378
3 changed files with 14 additions and 0 deletions

4
init
View File

@ -121,6 +121,10 @@ fi
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(find . -type f -name "*.ko"); do
modprobe $(basename $i|sed -e "s/\.ko$//")
done
for i in /dev/sr*; do
mount -o ro $i /mnt
if [ -d /mnt/Viitor ]; then

View File

@ -117,6 +117,11 @@ fi
/sbin/modprobe usb-storage
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(find . -type f -name "*.ko"); do
modprobe $(basename $i|sed -e "s/\.ko$//")
done
for i in `cat /proc/cmdline`; do
DEVNAME=$DEVNAME`echo $i|awk -F "=" '{ if ($1 == "root" ) print $2 }'`
done

View File

@ -117,6 +117,11 @@ fi
/sbin/modprobe usb-storage
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(find . -type f -name "*.ko"); do
modprobe $(basename $i|sed -e "s/\.ko$//")
done
for i in /sys/block/sd?; do
DEVNAME=`basename $i`
mount /dev/$DEVNAME /mnt