Magellan Linux

Annotation of /trunk/mlivecdbuild/profiles/tinyalx-i686/inittab

Parent Directory Parent Directory | Revision Log Revision Log


Revision 747 - (hide annotations) (download)
Thu Jun 26 16:27:44 2008 UTC (15 years, 10 months ago) by niro
File size: 1228 byte(s)
-create two autologin shells

1 niro 746 # /etc/inittab
2 niro 747 # $Header: /home/cvsd/magellan-cvs/magellan-src/mlivecdbuild/profiles/tinyalx-i686/inittab,v 1.2 2008-06-26 16:27:44 niro Exp $
3 niro 746 #
4     # Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
5     #
6     # Note: BusyBox init doesn't support runlevels. The runlevels field is
7     # completely ignored by BusyBox init. If you want runlevels, use
8     # sysvinit.
9     #
10     # Format for each entry: <id>:<runlevels>:<action>:<process>
11     #
12     # id == tty to run on, or empty for /dev/console
13     # runlevels == ignored
14     # action == one of sysinit, respawn, askfirst, wait, and once
15     # process == program to run
16    
17     # Startup the system
18     ::sysinit:/etc/rc.d/init.d/rc sysinit
19     # enter boot runlevel
20     ::sysinit:/etc/rc.d/init.d/rc boot
21    
22     # Set up a couple of getty's
23 niro 747 tty1::respawn:/bin/bash
24     tty2::respawn:/bin/bash
25 niro 746
26     # Put a getty on the serial port
27     #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
28    
29     # Logging junk
30     #null::sysinit:/bin/touch /var/log/messages
31     #null::respawn:/sbin/syslogd -n -m 0
32     #null::respawn:/sbin/klogd -n
33     #tty3::respawn:/usr/bin/tail -f /var/log/messages
34    
35     # startx
36     #null::sysinit:/root/startx.sh
37    
38     # Stuff to do for the 3-finger salute
39     ::ctrlaltdel:/sbin/reboot
40    
41     # Stuff to do before rebooting
42     ::shutdown:/etc/rc.d/init.d/rc shutdown