insmod /lib/modules/2.0.0/fs/binfmt_java.o
# Update module dependencies:
echo "Starting kerneld"
if [ -x /sbin/depmod ]
then
echo "Updating module dependencies for Linux `uname -r`:"
/sbin/depmod -a
fi
# Automatic module loading. To load and unload kernel modules
# automatically as needed, uncomment the lines below to run kerneld.
# In some cases, you'll need to create aliases to load the correct
# module. For more information, see the docs in /usr/doc/modules.
if [ -x /sbin/kerneld ]; then
/sbin/kerneld
fi
If you put the above in the /etc/rc.d/rc.S file you need to take care WHERE you put it. This should happen very early in the boot process, certainly BEFORE you run fsck on filesystems that might need to have disk drivers autoloaded