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
U. Bauermann wrote:
Hello
I want to load some kernel modules per default. I have add lines to "/init" in the /usr/lib/udpcast/tmpl-tree.
[...]
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
I would suggest simply putting it into the prescript. Yes, this is not "as soon as possible", but it is the most "stable" alternative (i.e. it continues working, even after you upgrade udpcast). Or is there any particular reason why you have to insert this module before anything else?
Regards,
Alain