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:
Baoquan He 2015-04-08 15:50:16 +08:00
parent 374d8b628b
commit 6f4940f198
3 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -161,10 +161,3 @@ do_final_action()
{
eval $FINAL_ACTION
}
do_kdump_post()
{
if [ -n "$KDUMP_POST" ]; then
"$KDUMP_POST" "$1"
fi
}