summaryrefslogtreecommitdiff
path: root/recipes/modutils/files/mnci/modutils.sh
blob: 378915c270c408774a542e6172727cb406dd02df (plain)
1
2
3
4
5
6
7
8
9
10
depmod -Ae

(cat /etc/modules; echo; ) |
while read module args
do
	case "$module" in
		\#*|"") continue ;;
	esac
	modprobe $module $args
done