source: trunk/debathena/config/cluster-login-config/debian/ttymsg @ 23175

Revision 23175, 316 bytes checked in by ghudson, 16 years ago (diff)
Add a new package debathena-cluster-login-config to configure the login and screensaver policy on cluster machines.
Line 
1# ttymsg
2#
3# This service displays a message on the first six ttys.
4
5start on stopped rc2
6start on stopped rc3
7start on stopped rc4
8start on stopped rc5
9
10stop on runlevel 0
11stop on runlevel 1
12stop on runlevel 6
13
14script
15m="Press ctrl-alt-F7 to log in"
16for n in 1 2 3 4 5 6; do echo "$m" > /dev/tty$n; done
17end script
Note: See TracBrowser for help on using the repository browser.