summaryrefslogtreecommitdiff
path: root/docs/busybox.sgml
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-08 20:38:00 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-08 20:38:00 +0000
commiteb4218d0a4b3f96a61ddd89726b0214630c87769 (patch)
tree929cd9f2ce8d90571a5ff04d108e6fdbb9f1aff1 /docs/busybox.sgml
parentbf2b8ae49aa885929bcb20983dd98196416bcc12 (diff)
downloadbusybox-w32-eb4218d0a4b3f96a61ddd89726b0214630c87769.tar.gz
busybox-w32-eb4218d0a4b3f96a61ddd89726b0214630c87769.tar.bz2
busybox-w32-eb4218d0a4b3f96a61ddd89726b0214630c87769.zip
Update inittab docs
Diffstat (limited to 'docs/busybox.sgml')
-rw-r--r--docs/busybox.sgml52
1 files changed, 42 insertions, 10 deletions
diff --git a/docs/busybox.sgml b/docs/busybox.sgml
index 1542337dd..184814125 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -1538,24 +1538,56 @@
1538 <sect2> 1538 <sect2>
1539 <title>action</title> 1539 <title>action</title>
1540 1540
1541
1542 <para>
1543 Valid actions include: sysinit, respawn, askfirst, wait,
1544 once, and ctrlaltdel.
1545 </para>
1546
1547
1548 <para>
1549 The available actions can be classified into two groups: actions
1550 that are run only once, and actions that are re-run when the specified
1551 process exits.
1552 </para>
1553
1541 <para> 1554 <para>
1542 Valid actions include: sysinit, respawn, 1555 Run only-once actions:
1543 askfirst, wait, once, and ctrlaltdel.
1544 </para> 1556 </para>
1545 1557
1546 <para> 1558 <para>
1547 askfirst acts just like respawn, but before 1559 'sysinit' is the first item run on boot. init waits until all
1548 running the specified process it displays the 1560 sysinit actions are completed before continuing. Following the
1549 line "Please press Enter to activate this 1561 completion of all sysinit actions, all 'wait' actions are run.
1550 console." and then waits for the user to press 1562 'wait' actions, like 'sysinit' actions, cause init to wait until
1551 enter before starting the specified process. 1563 the specified task completes. 'once' actions are asyncronous,
1564 therefore, init does not wait for them to complete. 'ctrlaltdel'
1565 actions are run immediately before init causes the system to reboot
1566 (unmounting filesystems with a 'ctrlaltdel' action is a very good
1567 idea).
1552 </para> 1568 </para>
1553 1569
1554 <para> 1570 <para>
1555 Unrecognized actions (like initdefault) will 1571 Run repeatedly actions:
1556 cause init to emit an error message, and then go
1557 along with its business.
1558 </para> 1572 </para>
1573
1574 <para>
1575 'respawn' actions are run after the 'once' actions. When a process
1576 started with a 'respawn' action exits, init automatically restarts
1577 it. Unlike sysvinit, BusyBox init does not stop processes from
1578 respawning out of control. The 'askfirst' actions acts just like
1579 respawn, except that before running the specified process it
1580 displays the line "Please press Enter to activate this console."
1581 and then waits for the user to press enter before starting the
1582 specified process.
1583 </para>
1584
1585 <para>
1586 Unrecognized actions (like initdefault) will cause init to emit an
1587 error message, and then go along with its business. All actions are
1588 run in the reverse order from how they appear in /etc/inittab.
1589 </para>
1590
1559 </sect2> 1591 </sect2>
1560 1592
1561 <sect2> 1593 <sect2>