这只是在这个配置文件中来设置别名还是在这个文件里写入的模块才会被加载呢?作者: 潘多拉的盒子 时间: 2010-08-25 10:20 作者: bingosek 时间: 2010-08-25 12:04
install modulename command...
This is the most powerful primitive: it tells modprobe to run your command instead of inserting the mod-
ule in the kernel as normal. The command can be any shell command: this allows you to do any kind of com-
plex processing you might wish. For example, if the module "fred" works better with the module "barney"
already installed (but it doesn’t depend on it, so modprobe won’t automatically load it), you could say
"install fred /sbin/modprobe barney; /sbin/modprobe --ignore-install fred", which would do what you
wanted. Note the --ignore-install, which stops the second modprobe from running the same install command
again. See also remove below.
主要功能是执行命令或脚本来安装模块