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

Side by Side Diff: appengine/swarming/tools/android/udev_start_bot_deferred.sh

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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 | « appengine/swarming/tools/android/setup_udev.py ('k') | appengine/swarming/tools/bot_archive.py » ('j') | 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 # Copyright 2014 The Swarming Authors. All rights reserved. 2 # Copyright 2014 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This script is run as the user as specified to ./setup_udev.py. It 6 # This script is run as the user as specified to ./setup_udev.py. It
7 # starts/signal the bot about plugged or unplugged devices. 7 # starts/signal the bot about plugged or unplugged devices.
8 8
9 # Unset sudo environment variables. 9 # Unset sudo environment variables.
10 unset SUDO_COMMAND 10 unset SUDO_COMMAND
11 unset SUDO_GID 11 unset SUDO_GID
12 unset SUDO_UID 12 unset SUDO_UID
(...skipping 16 matching lines...) Expand all
29 PATH="$PATH:$HOME/src/android-sdk-linux/platform-tools/" 29 PATH="$PATH:$HOME/src/android-sdk-linux/platform-tools/"
30 30
31 export >> "$LOG_FILE" 31 export >> "$LOG_FILE"
32 echo "" >> "$LOG_FILE" 32 echo "" >> "$LOG_FILE"
33 33
34 # Defer execution. 34 # Defer execution.
35 # TODO(maruel): When ACTION=='remove', send the signal to the currently running 35 # TODO(maruel): When ACTION=='remove', send the signal to the currently running
36 # swarming bot to stop itself. 36 # swarming bot to stop itself.
37 # https://code.google.com/p/swarming/issues/detail?id=127 37 # https://code.google.com/p/swarming/issues/detail?id=127
38 echo "python $base_path/swarming_bot.zip >> $LOG_FILE 2>&1" | at now 38 echo "python $base_path/swarming_bot.zip >> $LOG_FILE 2>&1" | at now
OLDNEW
« no previous file with comments | « appengine/swarming/tools/android/setup_udev.py ('k') | appengine/swarming/tools/bot_archive.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698