2005-09-25 03:32:27 +08:00
|
|
|
#
|
|
|
|
# Completions for the modprobe command
|
|
|
|
#
|
2005-09-20 21:31:55 +08:00
|
|
|
|
2005-12-20 16:58:20 +08:00
|
|
|
complete -c modprobe -d Module -a "(/sbin/modprobe -l | sed -e 's/\/.*\/\([^\/.]*\).*/\1/')"
|
2007-01-16 09:18:28 +08:00
|
|
|
complete -c modprobe -s v -l verbose --description "Print messages about what the program is doing"
|
|
|
|
complete -c modprobe -s C -l config --description "Configuration file" -r
|
|
|
|
complete -c modprobe -s c -l showconfig --description "Dump configuration file"
|
|
|
|
complete -c modprobe -s n -l dry-run --description "Do not actually insert/remove module"
|
|
|
|
complete -c modprobe -s i -l ingnore-install --description "Ignore install and remove commands in configuration file"
|
|
|
|
complete -c modprobe -l ingnore-remove --description "Ignore install and remove commands in configuration file"
|
|
|
|
complete -c modprobe -s q -l quiet --description "Ignore bogus module names"
|
|
|
|
complete -c modprobe -s r -l remove --description "Remove modules"
|
|
|
|
complete -c modprobe -s V -l version --description "Display version and exit"
|
|
|
|
complete -c modprobe -s f -l force --description "Ignore all version information"
|
|
|
|
complete -c modprobe -l force-vermagic --description "Ignore version magic information"
|
|
|
|
complete -c modprobe -l force-modversion --description "Ignore module interface version"
|
2010-09-18 10:18:26 +08:00
|
|
|
complete -c modprobe -s l -l list --description "List all modules matching the given wildcard"
|
2007-01-16 09:18:28 +08:00
|
|
|
complete -c modprobe -s a -l all --description "Insert modules matching the given wildcard"
|
|
|
|
complete -c modprobe -s t -l type --description "Restrict wildcards to specified directory"
|
|
|
|
complete -c modprobe -s s -l syslog --description "Send error messages through syslog"
|
|
|
|
complete -c modprobe -l set-version --description "Specify kernel version"
|
|
|
|
complete -c modprobe -l show-depends --description "List dependencies of module"
|
|
|
|
complete -c modprobe -s o -l name --description "Rename module"
|
|
|
|
complete -c modprobe -l first-time --description "Fail if inserting already loaded module"
|
2005-09-20 21:31:55 +08:00
|
|
|
|