diff options
Diffstat (limited to 'docs/busybox.pod')
-rw-r--r-- | docs/busybox.pod | 38 |
1 files changed, 31 insertions, 7 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 $ |