diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-09-14 22:01:31 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-09-14 22:01:31 +0000 |
commit | 7e3bf6e339a2d1e28fc8ee53ca57919f32eba6d6 (patch) | |
tree | 85ee868c652b45c0859554d73b702acff5df7879 /examples/inittab | |
parent | ce40fc044bc50897739581ec0f9fcda38791384d (diff) | |
download | busybox-w32-7e3bf6e339a2d1e28fc8ee53ca57919f32eba6d6.tar.gz busybox-w32-7e3bf6e339a2d1e28fc8ee53ca57919f32eba6d6.tar.bz2 busybox-w32-7e3bf6e339a2d1e28fc8ee53ca57919f32eba6d6.zip |
Add in a patch from robotti@metconnect.com and Chip Rosenthal to make
init do login shell stuff.
-Erik
Diffstat (limited to 'examples/inittab')
-rw-r--r-- | examples/inittab | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/examples/inittab b/examples/inittab index bb547b740..2515264c7 100644 --- a/examples/inittab +++ b/examples/inittab | |||
@@ -44,7 +44,6 @@ | |||
44 | # tty2::askfirst:/bin/sh | 44 | # tty2::askfirst:/bin/sh |
45 | # | 45 | # |
46 | 46 | ||
47 | |||
48 | # Boot-time system configuration/initialization script. | 47 | # Boot-time system configuration/initialization script. |
49 | # This is run first except when booting in single-user mode. | 48 | # This is run first except when booting in single-user mode. |
50 | # | 49 | # |
@@ -52,16 +51,23 @@ | |||
52 | 51 | ||
53 | # /bin/sh invocations on selected ttys | 52 | # /bin/sh invocations on selected ttys |
54 | # | 53 | # |
55 | # Start an "askfirst" shell on the console (whatever that may be) | 54 | # Note below that we prefix the shell commands with a "-" to indicate to the |
56 | ::askfirst:/bin/sh | 55 | # shell that it is supposed to be a login shell. Normally this is handled by |
57 | # Start an "askfirst" shell on /dev/tty2 | 56 | # login, but since we are bypassing login in this case, BusyBox lets you do |
58 | tty2::askfirst:/bin/sh | 57 | # this yourself... |
58 | # | ||
59 | # Start an "askfirst" shell on the console (whatever that may be). | ||
60 | ::askfirst:-/bin/sh | ||
61 | # | ||
62 | # Start an "askfirst" shell on /dev/tty2-4 | ||
63 | tty2::askfirst:-/bin/sh | ||
64 | tty3::askfirst:-/bin/sh | ||
65 | tty4::askfirst:-/bin/sh | ||
59 | 66 | ||
60 | # /sbin/getty invocations for selected ttys | 67 | # /sbin/getty invocations for selected ttys |
61 | # | 68 | # |
62 | tty4::respawn:/sbin/getty 38400 tty4 | ||
63 | tty5::respawn:/sbin/getty 38400 tty5 | 69 | tty5::respawn:/sbin/getty 38400 tty5 |
64 | 70 | tty6::respawn:/sbin/getty 38400 tty6 | |
65 | 71 | ||
66 | # Example of how to put a getty on a serial line (for a terminal) | 72 | # Example of how to put a getty on a serial line (for a terminal) |
67 | # | 73 | # |