OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 start on runlevel [2] | 5 start on runlevel [2] |
6 stop on runlevel [!2] | 6 stop on runlevel [!2] |
7 | 7 |
8 respawn | 8 respawn |
9 exec /sbin/agetty 38400 tty2 linux | 9 exec /sbin/agetty 38400 tty2 linux |
| 10 |
| 11 post-start script |
| 12 # Disable screen blanking and powering down for dev & factory. |
| 13 # TODO(tbroch) If X is running and DPMS is enabled it still blanks VT2. |
| 14 # Investigate possibility of tying these different code paths together. |
| 15 printf "\033[9;0]" > /dev/console |
| 16 printf "\033[14;0]" > /dev/console |
| 17 end script |
OLD | NEW |