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:
parent
b64c90358d
commit
5edfe53378
4
init
4
init
|
@ -121,6 +121,10 @@ fi
|
||||||
/etc/init.d/udev start
|
/etc/init.d/udev start
|
||||||
/etc/init.d/hotplug 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
|
for i in /dev/sr*; do
|
||||||
mount -o ro $i /mnt
|
mount -o ro $i /mnt
|
||||||
if [ -d /mnt/Viitor ]; then
|
if [ -d /mnt/Viitor ]; then
|
||||||
|
|
5
init.hd
5
init.hd
|
@ -117,6 +117,11 @@ fi
|
||||||
/sbin/modprobe usb-storage
|
/sbin/modprobe usb-storage
|
||||||
/etc/init.d/udev start
|
/etc/init.d/udev start
|
||||||
/etc/init.d/hotplug 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
|
for i in `cat /proc/cmdline`; do
|
||||||
DEVNAME=$DEVNAME`echo $i|awk -F "=" '{ if ($1 == "root" ) print $2 }'`
|
DEVNAME=$DEVNAME`echo $i|awk -F "=" '{ if ($1 == "root" ) print $2 }'`
|
||||||
done
|
done
|
||||||
|
|
5
init.usb
5
init.usb
|
@ -117,6 +117,11 @@ fi
|
||||||
/sbin/modprobe usb-storage
|
/sbin/modprobe usb-storage
|
||||||
/etc/init.d/udev start
|
/etc/init.d/udev start
|
||||||
/etc/init.d/hotplug 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
|
for i in /sys/block/sd?; do
|
||||||
DEVNAME=`basename $i`
|
DEVNAME=`basename $i`
|
||||||
mount /dev/$DEVNAME /mnt
|
mount /dev/$DEVNAME /mnt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user