Contents of /trunk/mlivecdbuild/profiles/tinyalx-i486/inittab
Parent Directory | Revision Log
Revision 760 -
(show annotations)
(download)
Fri Jun 27 23:58:38 2008 UTC (16 years, 3 months ago) by niro
File size: 1138 byte(s)
Fri Jun 27 23:58:38 2008 UTC (16 years, 3 months ago) by niro
File size: 1138 byte(s)
-create 4 ttys and run alxinstall-ng on tty1
1 | # /etc/inittab |
2 | # $Header: /home/cvsd/magellan-cvs/magellan-src/mlivecdbuild/profiles/tinyalx-i486/inittab,v 1.5 2008-06-27 23:58:38 niro Exp $ |
3 | # |
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 | # Logging junk |
23 | null::sysinit:/bin/touch /var/log/messages |
24 | null::respawn:/sbin/syslogd -n -m 0 |
25 | null::respawn:/sbin/klogd -n |
26 | |
27 | # Set up a couple of getty's |
28 | tty1::respawn:/usr/bin/alxinstall-ng |
29 | tty2::respawn:/bin/login -f root |
30 | tty3::respawn:/bin/login -f root |
31 | tty4::respawn:/bin/login -f root |
32 | |
33 | # Stuff to do for the 3-finger salute |
34 | ::ctrlaltdel:/sbin/reboot |
35 | |
36 | # Stuff to do before rebooting |
37 | ::shutdown:/etc/rc.d/init.d/rc shutdown |