diff options
author | 2012-07-19 15:59:03 -0400 | |
---|---|---|
committer | 2012-07-19 16:53:59 -0400 | |
commit | 908a463e07491d3c69aa1daf853b4d699dbb8534 (patch) | |
tree | 9e5e822d70a3ded33fa1d9c2002f6c5a7a10959d /gen_cmdline.sh | |
parent | Adding modules cmdline options for genkernel (module.option[=value]). (diff) | |
download | genkernel-908a463e07491d3c69aa1daf853b4d699dbb8534.tar.gz genkernel-908a463e07491d3c69aa1daf853b4d699dbb8534.tar.bz2 genkernel-908a463e07491d3c69aa1daf853b4d699dbb8534.zip |
Support module options set in /etc/module.d, amend cmdline options patch
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-x | gen_cmdline.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh index 184db655..938b1a5f 100755 --- a/gen_cmdline.sh +++ b/gen_cmdline.sh @@ -75,6 +75,7 @@ longusage() { echo " --mountboot Mount BOOTDIR automatically if mountable" echo " --no-mountboot Don't mount BOOTDIR automatically" echo " --bootdir=<dir> Set the location of the boot-directory, default is /boot" + echo " --modprobedir=<dir> Set the location of the modprobe.d-directory, default is /etc/modprobe.d" echo " Initialization" echo " --splash=<theme> Enable framebuffer splash using <theme>" echo " --splash-res=<res> Select splash theme resolutions to install" @@ -248,6 +249,10 @@ parse_cmdline() { CMD_BOOTDIR=`parse_opt "$*"` print_info 2 "CMD_BOOTDIR: ${CMD_BOOTDIR}" ;; + --modprobedir=*) + CMD_MODPROBEDIR=`parse_opt "$*"` + print_info 2 "CMD_MODPROBEDIR: ${CMD_MODPROBEDIR}" + ;; --do-keymap-auto) CMD_DOKEYMAPAUTO=1 CMD_KEYMAP=1 |