FILE=/etc/modules

[ -f $FILE ] || exit 0

echo "Modprobing modules from $FILE"

[ -x /sbin/modprobe ] || exit 1

cat $FILE | while read l; do
	[ -z "$l" ] && continue
	echo $l | grep -q "^#"
	[ $? = 0 ] && continue

	modprobe $l
done
