File s390-tools-sles11sp2-dumpconf-8vmcmd.patch of Package s390-tools

Description: dumpconf: Allow 8 vmcmd commands instead of 5
Symptom:     Currently only 5 vmcmd commands can be specified.
Problem:     The dumpconf script only supports 5 commands, but there
             are scenarios where more commands are useful.
Solution:    Increase supported command count to 8.
Problem-ID:  74868
---
 etc/init.d/dumpconf |    2 +-
 man/dumpconf.8      |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/etc/init.d/dumpconf
+++ b/etc/init.d/dumpconf
@@ -313,7 +313,7 @@ setup_dump()
 
 setup_on_panic_vmcmd()
 {
-	for I in "$VMCMD_1" "$VMCMD_2" "$VMCMD_3" "$VMCMD_4" "$VMCMD_5";
+	for I in "$VMCMD_1" "$VMCMD_2" "$VMCMD_3" "$VMCMD_4" "$VMCMD_5" "$VMCMD_6" "$VMCMD_7" "$VMCMD_8";
 	do
 		if [ "$I" != "" ]; then
 			if [ "$VMCMD" != "" ]; then
--- a/man/dumpconf.8
+++ b/man/dumpconf.8
@@ -62,8 +62,8 @@ Boot program selector.
 Boot record logical block address.
 
 .TP
-\fB  - VMCMD_1, VMCMD_2 ... VMCMD_5:\fR
-Up to five CP commands, which are triggered in case of a kernel panic.
+\fB  - VMCMD_1, VMCMD_2 ... VMCMD_8:\fR
+Up to eight CP commands, which are triggered in case of a kernel panic.
 
 .TP
 \fB - DELAY_MINUTES:\fR