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:
parent
ed11cc3f62
commit
3bbd0d4722
4
init
4
init
@ -121,8 +121,8 @@ fi
|
|||||||
/etc/init.d/udev start
|
/etc/init.d/udev start
|
||||||
/etc/init.d/hotplug start
|
/etc/init.d/hotplug start
|
||||||
|
|
||||||
for i in `/bin/find . -type f -name "*.ko"`; do
|
for i in $(/bin/find /lib/modules -type f -name "*.ko"); do
|
||||||
/sbin/modprobe `/bin/basename $i|/bin/sed -e "s/\.ko$//"`
|
/sbin/modprobe $(/bin/basename $i|/bin/sed -e "s/\.ko$//")
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in /dev/sr*; do
|
for i in /dev/sr*; do
|
||||||
|
2
init.hd
2
init.hd
@ -118,7 +118,7 @@ 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
|
for i in $(find /lib/modules -type f -name "*.ko"); do
|
||||||
modprobe $(basename $i|sed -e "s/\.ko$//")
|
modprobe $(basename $i|sed -e "s/\.ko$//")
|
||||||
done
|
done
|
||||||
|
|
||||||
|
2
init.usb
2
init.usb
@ -118,7 +118,7 @@ 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
|
for i in $(find /lib/modules -type f -name "*.ko"); do
|
||||||
modprobe $(basename $i|sed -e "s/\.ko$//")
|
modprobe $(basename $i|sed -e "s/\.ko$//")
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user