Change destiny execution so that if nodeset boot is ran while a node is in standby, it reboots the system

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@30 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2007-10-31 14:55:43 +00:00
parent 5b69b3109e
commit 105324c579

View File

@ -83,7 +83,7 @@ while :; do
#Discovery complete, restart requested.
exec /bin/restart
fi
if [ $DESTINY == "reboot" ]; then
if [ $DESTINY == "reboot" -o $DESTINY == "boot" ]; then
while ! nextdestiny ; do
echo "Retrying next destiny..."
done