#!/bin/sh
# This loads any kernel modules that are needed.  These might be required to
# use your CD-ROM drive, bus mouse, ethernet card, or other optional hardware
#
. /boot.conf
test "$LOG_START" && echo "<*> Executing '$0 $*'"

if test "${MODS_2_PROBE_REMOTE[*]}"; then
    test "$LOG_STAGE" && echo "* Probing modules: ${MODS_2_PROBE_REMOTE[*]}"
    for i in "${MODS_2_PROBE_REMOTE[@]}"; do
	#echo "  modprobe $i"
	modprobe $i
    done
fi

exit 0
