blob: c8e1b7095f251de25904a078f9adddf2e1fac4b0 [file] [log] [blame]
# Copyright (c) 2011 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.
start on starting boot-services
stop on stopping boot-services
respawn
exec /sbin/agetty 38400 tty2 linux
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.
printf "\033[9;0]" > /dev/console
printf "\033[14;0]" > /dev/console
end script