[kexec-tools] remove useless dracut cmdline '-c /dev/null'
Dave Young
yangrr at fedoraproject.org
Thu Jul 12 03:22:05 UTC 2012
commit 6520b8f2455e4b6fac2580711fe0b26da2197bc4
Author: Dave Young <dyoung at redhat.com>
Date: Thu Jul 12 11:15:36 2012 +0800
remove useless dracut cmdline '-c /dev/null'
For "-c /dev/null" Harald mentioned that it is useless.
In fact, dracut code [[ -f /dev/null ]] will return false thus it will still use
the default config file
Signed-off-by: Dave Young <dyoung at redhat.com>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
Acked-by: Cong Wang <amwang at redhat.com>
mkdumprd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mkdumprd b/mkdumprd
index a354d2f..2d9ba46 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -13,7 +13,7 @@ SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
[ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
extra_modules=""
-dracut_args=("--hostonly" "-c" "/dev/null" "-o" "plymouth dash")
+dracut_args=("--hostonly" "-o" "plymouth dash")
add_dracut_arg() {
while [ $# -gt 0 ];
More information about the scm-commits
mailing list