Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: bin/cros_copy_upgrade_server.sh

Issue 2958009: Add copyright and script description (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Script to push the output of build_image.sh to a remote image server
8
3 # Load common constants. This should be the first executable line. 9 # Load common constants. This should be the first executable line.
4 # The path to common.sh should be relative to your script's location. 10 # The path to common.sh should be relative to your script's location.
5 . "$(dirname "$0")/common.sh" 11 . "$(dirname "$0")/common.sh"
6 12
7 # Flags 13 # Flags
8 DEFINE_string upgrade_server "" "SSH-capable host for upgrade server install" 14 DEFINE_string upgrade_server "" "SSH-capable host for upgrade server install"
9 DEFINE_string dest_path "" "Directory on host to do install" 15 DEFINE_string dest_path "" "Directory on host to do install"
10 DEFINE_string client_address "" "IP Address of netbook to update" 16 DEFINE_string client_address "" "IP Address of netbook to update"
11 DEFINE_string server_address "" "IP Address of upgrade server" 17 DEFINE_string server_address "" "IP Address of upgrade server"
12 DEFINE_boolean start_server ${FLAGS_TRUE} "Start up the server" 18 DEFINE_boolean start_server ${FLAGS_TRUE} "Start up the server"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 echo "Running ${SCRIPTS_DIR}/image_to_live.sh $live_args" 197 echo "Running ${SCRIPTS_DIR}/image_to_live.sh $live_args"
192 ${SCRIPTS_DIR}/image_to_live.sh $live_args & 198 ${SCRIPTS_DIR}/image_to_live.sh $live_args &
193 else 199 else
194 echo "Start client upgrade using:" 200 echo "Start client upgrade using:"
195 echo " ${SCRIPTS_DIR}/image_to_live.sh ${live_args}<client_ip_address>" 201 echo " ${SCRIPTS_DIR}/image_to_live.sh ${live_args}<client_ip_address>"
196 fi 202 fi
197 203
198 wait ${server_pid} 204 wait ${server_pid}
199 fi 205 fi
200 206
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698