[Udpcast] loading modules per default

U. Bauermann ub at insecma.de
Wed Nov 1 11:35:43 CET 2006


Hello

I want to load some kernel modules per default.
I have add lines to "/init" in the /usr/lib/udpcast/tmpl-tree.

----- Ex.:
!/bin/sh

#mount -t devfs none /dev
modprobe sata_sis            <--- This is my new line
modprobe floppy
modprobe uhci-hcd
modprobe ohci-hcd
modprobe usbkbd
mount -t sysfs none /sys
/bin/udpc_dialog init
exec /bin/init
-----------

After making the initrd-image, and booting per PXE this image,
- i have include a prescript to make a pause before the menue appaers
(prescript: read dummy (for continue after keystroke)
At this time i activate a virtual console on ALT-2
and with lsmod my module isn't in memory.

How/where can/must i include my modprobe line to load it as soon as 
possible?

greeting
Uwe



More information about the Udpcast mailing list