kdump.conf: Specify /etc/kdump/{pre.d,post.d}interface
This patch discribe /etc/kdump/{pre.d,post.d} interface. Signed-off-by: Shinichi Onitsuka <onitsuka.shinic@fujitsu.com> Acked-by: Pingfan Liu <piliu@redhat.com>
This commit is contained in:
parent
45e02e73fa
commit
077a7f19bb
10
kdump.conf
10
kdump.conf
|
@ -79,6 +79,10 @@
|
||||||
# or script after the vmcore dump process terminates.
|
# or script after the vmcore dump process terminates.
|
||||||
# The exit status of the current dump process is fed to
|
# The exit status of the current dump process is fed to
|
||||||
# the executable binary or script as its first argument.
|
# the executable binary or script as its first argument.
|
||||||
|
# If /etc/kdump/post.d directory is exist, All files in
|
||||||
|
# the directory are collectively sorted and executed in
|
||||||
|
# lexical order, before binary or script specified
|
||||||
|
# kdump_post parameter is executed.
|
||||||
#
|
#
|
||||||
# kdump_pre <binary | script>
|
# kdump_pre <binary | script>
|
||||||
# - Works like the "kdump_post" directive, but instead of running
|
# - Works like the "kdump_post" directive, but instead of running
|
||||||
|
@ -86,6 +90,12 @@
|
||||||
# Exit status of this binary is interpreted as follows:
|
# Exit status of this binary is interpreted as follows:
|
||||||
# 0 - continue with dump process as usual
|
# 0 - continue with dump process as usual
|
||||||
# non 0 - reboot the system
|
# non 0 - reboot the system
|
||||||
|
# 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.
|
||||||
|
# Even if the binary or script in /etc/kdump/pre.d directory
|
||||||
|
# returns non 0 exit status, the processing is continued.
|
||||||
#
|
#
|
||||||
# extra_bins <binaries | shell scripts>
|
# extra_bins <binaries | shell scripts>
|
||||||
# - This directive allows you to specify additional binaries or
|
# - This directive allows you to specify additional binaries or
|
||||||
|
|
Loading…
Reference in New Issue