From 7699429c09aa15f09c70b344d54c55a4b424003e Mon Sep 17 00:00:00 2001 From: Dave Young Date: Thu, 12 Jul 2012 11:15:35 +0800 Subject: [PATCH] remove useless dracut cmdline for kernel-modules and kdumpbase kernel-modules and kdumpbase will be included automaticlly when check() pass. So no need explictly specify them in dracut cmdline. Signed-off-by: Dave Young Acked-by: Vivek Goyal --- mkdumprd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdumprd b/mkdumprd index 3b9bd71..a354d2f 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" "--add" "kdumpbase" "--add" "kernel-modules" "-c" "/dev/null" "-o" "plymouth dash") +dracut_args=("--hostonly" "-c" "/dev/null" "-o" "plymouth dash") add_dracut_arg() { while [ $# -gt 0 ];