dracut: remove duplicate options
authorMichal Soltys <soltys@ziu.info>
Mon, 17 Oct 2011 21:01:49 +0000 (23:01 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 18 Oct 2011 09:33:56 +0000 (11:33 +0200)
'-I' and '--fwdir' were both read_arg and push_arg, and the latter has
priority.

Signed-off-by: Michal Soltys <soltys@ziu.info>
dracut

diff --git a/dracut b/dracut
index 205f5d1..4bc0db3 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -212,8 +212,6 @@ while (($# > 0)); do
         -c|--conf)     read_arg conffile             "$@" || shift;;
         --confdir)     read_arg confdir              "$@" || shift;;
         -L|--stdlog)   read_arg stdloglvl_l          "$@" || shift;;
-        -I|--install)  read_arg install_items        "$@" || shift;;
-        --fwdir)       read_arg fw_dir_l             "$@" || shift;;
         --compress)    read_arg compress_l           "$@" || shift;;
         --prefix)      read_arg prefix_l             "$@" || shift;;
         -f|--force)    force=yes;;