diff options
Diffstat (limited to 'recipes/modutils/files/mnci/modutils.sh')
-rwxr-xr-x | recipes/modutils/files/mnci/modutils.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/modutils/files/mnci/modutils.sh b/recipes/modutils/files/mnci/modutils.sh new file mode 100755 index 0000000000..378915c270 --- /dev/null +++ b/recipes/modutils/files/mnci/modutils.sh @@ -0,0 +1,10 @@ +depmod -Ae + +(cat /etc/modules; echo; ) | +while read module args +do + case "$module" in + \#*|"") continue ;; + esac + modprobe $module $args +done |