2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 05:11:12 +00:00

Merge pull request #2118 from immarvin/onxcatservice

correct a typo
This commit is contained in:
neo954
2016-11-09 00:59:55 -06:00
committed by GitHub

View File

@@ -23,7 +23,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 -a "$RUNBOOTSCRIPT" = "1"]; then
if [ "$REBOOT" = "TRUE" -a -r /opt/xcat/xcatdsklspost -a "$RUNBOOTSCRIPT" = "1" ]; then
/opt/xcat/xcatdsklspost 6
elif [ "$REBOOT" = "TRUE" -a "NODESTATUS" != "n" ]; then
/xcatpost/updateflag.awk $XCATSERVER 3002 "installstatus booted"