OLD | NEW |
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 # This scripts performs update of stateful partition directories useful for | 7 # This scripts performs update of stateful partition directories useful for |
8 # dev_mode. | 8 # dev_mode. |
9 | 9 |
10 # Die on error. | 10 # Die on error. |
(...skipping 29 matching lines...) Expand all Loading... |
40 touch "$STATEFUL_DIR/.update_available" | 40 touch "$STATEFUL_DIR/.update_available" |
41 else | 41 else |
42 echo "No update available" | 42 echo "No update available" |
43 fi | 43 fi |
44 | 44 |
45 umount -n -d "$STATEFUL_MOUNT_POINT" | 45 umount -n -d "$STATEFUL_MOUNT_POINT" |
46 | 46 |
47 rm -f "$STATEFUL_IMAGE" | 47 rm -f "$STATEFUL_IMAGE" |
48 | 48 |
49 trap - EXIT | 49 trap - EXIT |
OLD | NEW |