3
# Copyright 2006-2009 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the
4
# Amazon Software License (the "License"). You may not use this file except in compliance with the License. A copy of the
5
# License is located at http://aws.amazon.com/asl or in the "license" file accompanying this file. This file is distributed on an "AS
6
# IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
7
# language governing permissions and limitations under the License.
9
EC2_HOME=${EC2_HOME:?EC2_HOME is not set}
10
$EC2_HOME/bin/ec2-cmd RebootInstances "$@"