kdump_pre: make notes more precise
Signed-off-by: Pingfan Liu <piliu@redhat.com> Acked-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
parent
bda677c3d1
commit
bc67c13651
@ -41,6 +41,7 @@ do_kdump_pre()
|
||||
fi
|
||||
fi
|
||||
|
||||
# if any script fails, it just raises warning and continues
|
||||
if [ -d /etc/kdump/pre.d ]; then
|
||||
for file in /etc/kdump/pre.d/*; do
|
||||
"$file"
|
||||
|
@ -89,7 +89,7 @@
|
||||
# after the dump process, runs immediately before it.
|
||||
# Exit status of this binary is interpreted as follows:
|
||||
# 0 - continue with dump process as usual
|
||||
# non 0 - reboot the system
|
||||
# non 0 - run the final action (reboot/poweroff/halt)
|
||||
# If /etc/kdump/pre.d directory exists, all files in
|
||||
# the directory are collectively sorted and executed in
|
||||
# lexical order, after binary or script specified
|
||||
|
@ -127,7 +127,7 @@ as follows:
|
||||
.PP
|
||||
0 - continue with dump process as usual
|
||||
.PP
|
||||
non 0 - reboot the system
|
||||
non 0 - run the final action (reboot/poweroff/halt)
|
||||
.PP
|
||||
If /etc/kdump/pre.d directory exists, all files in
|
||||
the directory are collectively sorted and executed in
|
||||
|
@ -553,7 +553,7 @@ Kdump Pre-Capture Executable
|
||||
It is possible to specify a custom script or binary you wish to run before
|
||||
capturing a vmcore. Exit status of this binary is interpreted:
|
||||
0 - continue with dump process as usual
|
||||
non 0 - reboot the system
|
||||
non 0 - run the final action (reboot/poweroff/halt)
|
||||
If /etc/kdump/pre.d directory exists, all files in the directory are collectively
|
||||
sorted and executed in lexical order, after binary or script specified
|
||||
kdump_pre parameter is executed.
|
||||
|
Loading…
Reference in New Issue
Block a user