PageRenderTime 324ms CodeModel.GetById 322ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/init/module-init-tools.conf

http://github.com/brinkman83/bashrc
Config | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | 48db1b767c3148fd83eba59d12fc9a5e MD5 | raw file
 1# module-init-tools - load modules from /etc/modules
 2#
 3# This task loads the kernel modules specified in the /etc/modules file
 4
 5description	"load modules from /etc/modules"
 6
 7start on (startup
 8	  and started udev)
 9
10task
11script
12    grep '^[^#]' /etc/modules |
13	while read module args
14	do
15	    [ "$module" ] || continue
16	    modprobe $module $args || :
17	done
18end script