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 | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|  |     # if any script fails, it just raises warning and continues | ||||||
|     if [ -d /etc/kdump/pre.d ]; then |     if [ -d /etc/kdump/pre.d ]; then | ||||||
|         for file in /etc/kdump/pre.d/*; do |         for file in /etc/kdump/pre.d/*; do | ||||||
|             "$file" |             "$file" | ||||||
|  | |||||||
| @ -89,7 +89,7 @@ | |||||||
| #             after the dump process, runs immediately before it. | #             after the dump process, runs immediately before it. | ||||||
| #             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 - run the final action (reboot/poweroff/halt) | ||||||
| #             If /etc/kdump/pre.d directory exists, all files in | #             If /etc/kdump/pre.d directory exists, all files in | ||||||
| #             the directory are collectively sorted and executed in | #             the directory are collectively sorted and executed in | ||||||
| #             lexical order, after binary or script specified | #             lexical order, after binary or script specified | ||||||
|  | |||||||
| @ -127,7 +127,7 @@ as follows: | |||||||
| .PP | .PP | ||||||
| 0 - continue with dump process as usual | 0 - continue with dump process as usual | ||||||
| .PP | .PP | ||||||
| non 0 - reboot the system | non 0 - run the final action (reboot/poweroff/halt) | ||||||
| .PP | .PP | ||||||
| If /etc/kdump/pre.d directory exists, all files in | If /etc/kdump/pre.d directory exists, all files in | ||||||
| the directory are collectively sorted and executed 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 | 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: | capturing a vmcore. Exit status of this binary is interpreted: | ||||||
| 0 - continue with dump process as usual | 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 | 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 | sorted and executed in lexical order, after binary or script specified | ||||||
| kdump_pre parameter is executed. | kdump_pre parameter is executed. | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user