aboutsummaryrefslogtreecommitdiff
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
parentbf2b8ae49aa885929bcb20983dd98196416bcc12 (diff)
downloadbusybox-w32-eb4218d0a4b3f96a61ddd89726b0214630c87769.tar.gz
busybox-w32-eb4218d0a4b3f96a61ddd89726b0214630c87769.tar.bz2
busybox-w32-eb4218d0a4b3f96a61ddd89726b0214630c87769.zip
Update inittab docs
-rw-r--r--docs/busybox.pod38
-rw-r--r--docs/busybox.sgml52
2 files changed, 73 insertions, 17 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index 9b92d1981..2ddacd152 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -900,13 +900,37 @@ If you choose to use an /etc/inittab file, the inittab entry format is as follow
900 Valid actions include: sysinit, respawn, askfirst, wait, 900 Valid actions include: sysinit, respawn, askfirst, wait,
901 once, and ctrlaltdel. 901 once, and ctrlaltdel.
902 902
903 askfirst acts just like respawn, but before running the specified
904 process it displays the line "Please press Enter to activate this
905 console." and then waits for the user to press enter before starting
906 the specified process.
907 903
908 Unrecognized actions (like initdefault) will cause init to emit 904 The available actions can be classified into two groups: actions
909 an error message, and then go along with its business. 905 that are run only once, and actions that are re-run when the specified
906 process exits.
907
908 Run only-once actions:
909
910 'sysinit' is the first item run on boot. init waits until all
911 sysinit actions are completed before continuing. Following the
912 completion of all sysinit actions, all 'wait' actions are run.
913 'wait' actions, like 'sysinit' actions, cause init to wait until
914 the specified task completes. 'once' actions are asyncronous,
915 therefore, init does not wait for them to complete. 'ctrlaltdel'
916 actions are run immediately before init causes the system to reboot
917 (unmounting filesystems with a 'ctrlaltdel' action is a very good
918 idea).
919
920 Run repeatedly actions:
921
922 'respawn' actions are run after the 'once' actions. When a process
923 started with a 'respawn' action exits, init automatically restarts
924 it. Unlike sysvinit, BusyBox init does not stop processes from
925 respawning out of control. The 'askfirst' actions acts just like
926 respawn, except that before running the specified process it
927 displays the line "Please press Enter to activate this console."
928 and then waits for the user to press enter before starting the
929 specified process.
930
931 Unrecognized actions (like initdefault) will cause init to emit an
932 error message, and then go along with its business. All actions are
933 run in the reverse order from how they appear in /etc/inittab.
910 934
911 <process>: 935 <process>:
912 936
@@ -2262,4 +2286,4 @@ Enrique Zanardi <ezanardi@ull.es>
2262 2286
2263=cut 2287=cut
2264 2288
2265# $Id: busybox.pod,v 1.78 2000/12/08 19:52:01 andersen Exp $ 2289# $Id: busybox.pod,v 1.79 2000/12/08 20:38:00 andersen Exp $
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>