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

Side by Side Diff: generate_logs

Issue 2983006: generate_logs was patched in in the wrong place because of dir switch (Closed) Base URL: ssh://git@chromiumos-git//workarounds.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) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 # Copies all logs, screen-shots, crash dumps to Downloads folder. 7 # Copies all logs, screen-shots, crash dumps to Downloads folder.
8 # Help information about script usage. 8 # Help information about script usage.
9 9
10 . /usr/lib/shflags 10 . /usr/lib/shflags
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 fi 95 fi
96 96
97 # Reboot after deleting all files. 97 # Reboot after deleting all files.
98 echo "Rebooting system after clean up in 1 minute" 98 echo "Rebooting system after clean up in 1 minute"
99 sudo shutdown -r 1 99 sudo shutdown -r 1
100 else 100 else
101 echo "Logs and dumps are copied but not deleted." 101 echo "Logs and dumps are copied but not deleted."
102 echo "To clear all logs, run the script with --delete flag." 102 echo "To clear all logs, run the script with --delete flag."
103 echo "For all flag options, run the script with --help or -h flag." 103 echo "For all flag options, run the script with --help or -h flag."
104 fi 104 fi
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