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:
parent
b814dcb097
commit
d6cc7ff7dc
2
kdumpctl
2
kdumpctl
|
@ -9,7 +9,7 @@ KDUMP_KERNELVER=""
|
||||||
KDUMP_COMMANDLINE=""
|
KDUMP_COMMANDLINE=""
|
||||||
KEXEC_ARGS=""
|
KEXEC_ARGS=""
|
||||||
KDUMP_CONFIG_FILE="/etc/kdump.conf"
|
KDUMP_CONFIG_FILE="/etc/kdump.conf"
|
||||||
MKDUMPRD="/sbin/mkdumprd -d -f"
|
MKDUMPRD="/sbin/mkdumprd -f"
|
||||||
SAVE_PATH=/var/crash
|
SAVE_PATH=/var/crash
|
||||||
SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
|
SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
|
||||||
DUMP_TARGET=""
|
DUMP_TARGET=""
|
||||||
|
|
3
mkdumprd
3
mkdumprd
|
@ -62,9 +62,6 @@ check_size() {
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
-d)
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--noconf)
|
--noconf)
|
||||||
conf_file=""
|
conf_file=""
|
||||||
shift
|
shift
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mkdumprd \- creates initial ramdisk images for kdump crash recovery
|
mkdumprd \- creates initial ramdisk images for kdump crash recovery
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
\fBmkdumprd\fR [--version] [-v] [-f] [-d]
|
\fBmkdumprd\fR [--version] [-v] [-f]
|
||||||
[--preload=\fImodule\fR] [--omit-scsi-modules]
|
[--preload=\fImodule\fR] [--omit-scsi-modules]
|
||||||
[--omit-raid-modules] [--omit-lvm-modules]
|
[--omit-raid-modules] [--omit-lvm-modules]
|
||||||
[--image-version]
|
[--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
|
Prints out verbose information while creating the image (normally
|
||||||
the \fBmkdumprd\fR runs silently).
|
the \fBmkdumprd\fR runs silently).
|
||||||
|
|
||||||
.TP
|
|
||||||
\fB-d\fR
|
|
||||||
Query /etc/kdump for initrd construction configuration
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
\fB-\-version\fR
|
\fB-\-version\fR
|
||||||
Prints the version of \fBmkdumprd\fR that's being used and then exits.
|
Prints the version of \fBmkdumprd\fR that's being used and then exits.
|
||||||
|
|
Loading…
Reference in New Issue