Revert "execute kdump_post after do_default_action"
This reverts commit f4c45236bf
.
Since that commit will change the behaviour of kdump_post. That is not
good.
Signed-off-by: Baoquan He <bhe@redhat.com>
This commit is contained in:
parent
374d8b628b
commit
6f4940f198
@ -6,6 +6,5 @@ set -o pipefail
|
||||
export PATH=$PATH:$KDUMP_SCRIPT_DIR
|
||||
|
||||
get_kdump_confs
|
||||
do_kdump_post 1
|
||||
do_default_action
|
||||
do_final_action
|
||||
|
@ -35,6 +35,13 @@ do_kdump_pre()
|
||||
fi
|
||||
}
|
||||
|
||||
do_kdump_post()
|
||||
{
|
||||
if [ -n "$KDUMP_POST" ]; then
|
||||
"$KDUMP_POST" "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
add_dump_code()
|
||||
{
|
||||
DUMP_INSTRUCTION=$1
|
||||
|
@ -161,10 +161,3 @@ do_final_action()
|
||||
{
|
||||
eval $FINAL_ACTION
|
||||
}
|
||||
|
||||
do_kdump_post()
|
||||
{
|
||||
if [ -n "$KDUMP_POST" ]; then
|
||||
"$KDUMP_POST" "$1"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user