| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| description "Terminal login service for VT2" |
| author "chromium-os-dev@chromium.org" |
| |
| start on started boot-services |
| stop on stopping boot-services |
| respawn |
| |
| post-start script |
| # Disable screen blanking and powering down for dev & factory. |
| # TODO(tbroch) If X is running and DPMS is enabled it still blanks VT2. |
| # Investigate possibility of tying these different code paths together. |
| setterm -cursor on -blank 0 -powersave off -powerdown 0 >/dev/console || true |
| end script |
| |
| exec agetty 38400 tty2 linux |