correct the syntax

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-01-11 11:44:47 +00:00
parent 937a403872
commit 87bb1c28ad

View File

@ -36,7 +36,7 @@ start)
REBOOT=`grep 'REBOOT' /opt/xcat/xcatinfo |cut -d= -f2`
fi
# if the xcatdsklspost file exists and this is a reboot - run xcatdsklspost with a mode of 6
if [ "$REBOOT" = "TRUE" -a -r /opt/xcat/xcatdsklspost ]; then
if [ "$REBOOT" = "TRUE" ] && [ -r /opt/xcat/xcatdsklspost ]; then
/opt/xcat/xcatdsklspost 6
else
# run /opt/xcat/xcatinstallpost