makedumprd: remove -d

-d option is not implemented and unused, remove it from mkdumprd

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
Dave Young 2012-06-06 16:24:23 +08:00
parent b814dcb097
commit d6cc7ff7dc
3 changed files with 2 additions and 9 deletions

View File

@ -9,7 +9,7 @@ KDUMP_KERNELVER=""
KDUMP_COMMANDLINE=""
KEXEC_ARGS=""
KDUMP_CONFIG_FILE="/etc/kdump.conf"
MKDUMPRD="/sbin/mkdumprd -d -f"
MKDUMPRD="/sbin/mkdumprd -f"
SAVE_PATH=/var/crash
SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
DUMP_TARGET=""

View File

@ -62,9 +62,6 @@ check_size() {
while [ $# -gt 0 ]; do
case $1 in
-d)
shift
;;
--noconf)
conf_file=""
shift

View File

@ -2,7 +2,7 @@
.SH NAME
mkdumprd \- creates initial ramdisk images for kdump crash recovery
.SH SYNOPSIS
\fBmkdumprd\fR [--version] [-v] [-f] [-d]
\fBmkdumprd\fR [--version] [-v] [-f]
[--preload=\fImodule\fR] [--omit-scsi-modules]
[--omit-raid-modules] [--omit-lvm-modules]
[--image-version]
@ -84,10 +84,6 @@ This option may be used as many times as necessary.
Prints out verbose information while creating the image (normally
the \fBmkdumprd\fR runs silently).
.TP
\fB-d\fR
Query /etc/kdump for initrd construction configuration
.TP
\fB-\-version\fR
Prints the version of \fBmkdumprd\fR that's being used and then exits.