Annotation of /tags/busybox-init-0_1_10/etc/inittab
Parent Directory | Revision Log
Revision 1201 -
(hide annotations)
(download)
Thu Jan 27 20:53:47 2011 UTC (13 years, 8 months ago) by niro
File size: 1245 byte(s)
Thu Jan 27 20:53:47 2011 UTC (13 years, 8 months ago) by niro
File size: 1245 byte(s)
tagged 'busybox-init-0_1_10'
1 | niro | 724 | # /etc/inittab |
2 | # $Header: /home/cvsd/magellan-cvs/magellan-src/busybox-initscripts/etc/inittab,v 1.1 2008-06-02 22:14:35 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 | # Set up a couple of getty's | ||
23 | tty1::askfirst:/sbin/getty 38400 tty1 | ||
24 | tty2::askfirst:/sbin/getty 38400 tty2 | ||
25 | |||
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 |