Die suche nach Modulen muss natuerlich unter /lib/modules erfolgen..

git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_initrd@6258 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2011-11-15 08:23:45 +00:00
parent ed11cc3f62
commit 3bbd0d4722
3 changed files with 4 additions and 4 deletions

4
init
View File

@ -121,8 +121,8 @@ fi
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in `/bin/find . -type f -name "*.ko"`; do
/sbin/modprobe `/bin/basename $i|/bin/sed -e "s/\.ko$//"`
for i in $(/bin/find /lib/modules -type f -name "*.ko"); do
/sbin/modprobe $(/bin/basename $i|/bin/sed -e "s/\.ko$//")
done
for i in /dev/sr*; do

View File

@ -118,7 +118,7 @@ fi
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(find . -type f -name "*.ko"); do
for i in $(find /lib/modules -type f -name "*.ko"); do
modprobe $(basename $i|sed -e "s/\.ko$//")
done

View File

@ -118,7 +118,7 @@ fi
/etc/init.d/udev start
/etc/init.d/hotplug start
for i in $(find . -type f -name "*.ko"); do
for i in $(find /lib/modules -type f -name "*.ko"); do
modprobe $(basename $i|sed -e "s/\.ko$//")
done