BusyBox: Difference between revisions
(Remove reference to the community repository) |
(→init: rm section, got deleted from AUR https://lists.archlinux.org/archives/list/aur-requests@lists.archlinux.org/thread/BWDGVTZ4U35T4ZDE7LXA7PVDEAJEPFZN/#MW5HYS6ZQ22TQAUNPJZTIC2HMMLZQ65F) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
== Usage == | == Usage == | ||
=== | === getty === | ||
The gettys are defined in the file {{ic|/etc/inittab}}. By default, getty is started on ttys 1 through 4. | |||
In order to enable/disable gettys: | |||
{{hc|/etc/inittab|2= | |||
tty2::respawn:/sbin/agetty -8 -s 38400 tty2 linux | |||
}} | |||
Just replace {{ic|tty2}} with the tty you want getty to start on. | |||
If you want init to ask you before starting getty, then replace {{ic|respawn}} with {{ic|askfirst}}. | |||
If you want init to ask you before starting | |||
=== mdev === | === mdev === |
Latest revision as of 09:18, 24 April 2024
BusyBox provides many common UNIX utilities in a single small executable for embedded systems. The package includes runit; see runit for more information.
Note: Do not expect full drop-in replacement and compatibility. Certain utilities may not exist, and for those that do, there may be missing options.
Installation
Busybox commands are symbolic links to /usr/bin/busybox
and thus take very little space. This is especially interesting for low-footprint systems.
Usage
getty
The gettys are defined in the file /etc/inittab
. By default, getty is started on ttys 1 through 4.
In order to enable/disable gettys:
/etc/inittab
tty2::respawn:/sbin/agetty -8 -s 38400 tty2 linux
Just replace tty2
with the tty you want getty to start on.
If you want init to ask you before starting getty, then replace respawn
with askfirst
.
mdev
See Gentoo:mdev.
runit
See runit.