change the mount path in kdump postscript

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-04-23 03:14:19 +00:00
parent 0804b949cb
commit 1402e078d0

View File

@ -80,7 +80,7 @@ if [ ! -z "$DUMP" ]; then
# workaround for RHEL6
# the $KDIP:$KDPATH directory will be used to generate the initrd for kdump service
MOUNTPATH=""
if (pmatch $OSVER "*6\.." ); then
if (pmatch $OSVER "*6\.*" ); then
MOUNTPATH="/tmp"
else
MOUNTPATH="/var/tmp"