Index: tty2.conf |
diff --git a/tty2.conf b/tty2.conf |
index 4765488065dcd2ed33e26f84b4b20c5a6616580c..2b58a87ab2e9859ce8be2081f3bcf99fbeaf60ad 100644 |
--- a/tty2.conf |
+++ b/tty2.conf |
@@ -7,3 +7,11 @@ stop on runlevel [!2] |
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 |