mirror of
https://github.com/troglobit/finit.git
synced 2026-11-27 20:48:24 +00:00
Document alternative tty ... config option for external getty
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
f7b9b7be96
commit
f9f1846c8b
1 file changed
+13
-2
+13
-2
@@ -137,13 +137,24 @@ Syntax:
|
|||||||
Include another configuration file. Absolute path required.
|
Include another configuration file. Absolute path required.
|
||||||
|
|
||||||
* `tty [LVLS] <DEV> [BAUD] [TERM] [noclear]`
|
* `tty [LVLS] <DEV> [BAUD] [TERM] [noclear]`
|
||||||
Start the built-in getty on the given TTY device DEV, in the given
|
`tty [LVLS] <CMD> <ARGS>`
|
||||||
runlevels. Default baud rate is `38400`.
|
The first variant of this option uses the built-in getty on the given
|
||||||
|
TTY device DEV, in the given runlevels. Default baud rate is `38400`.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
```conf
|
```conf
|
||||||
tty [12345] /dev/ttyAMA0 115200 noclear
|
tty [12345] /dev/ttyAMA0 115200 noclear
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The second variant is for using an external getty, like agetty or the
|
||||||
|
BusyBox getty. There are no default settings for this variant, but a
|
||||||
|
word of caution: *you have give the absolute path to the TTY*.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
```conf
|
||||||
|
tty [12345] /sbin/getty -L 115200 /dev/ttyAMA0 vt100
|
||||||
|
```
|
||||||
|
|
||||||
On really bare bones systems Finit offers a fallback shell, but one
|
On really bare bones systems Finit offers a fallback shell, but one
|
||||||
can also use the `service` stanza to start a stand-alone shell:
|
can also use the `service` stanza to start a stand-alone shell:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user