diff options
Diffstat (limited to 'init/halt.c')
-rw-r--r-- | init/halt.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/init/halt.c b/init/halt.c index f69b89772..632c6cc56 100644 --- a/init/halt.c +++ b/init/halt.c | |||
@@ -8,42 +8,42 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | //config:config HALT | 10 | //config:config HALT |
11 | //config: bool "halt" | 11 | //config: bool "halt (3.7 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: Stop all processes and halt the system. | 14 | //config: Stop all processes and halt the system. |
15 | //config: | 15 | //config: |
16 | //config:config POWEROFF | 16 | //config:config POWEROFF |
17 | //config: bool "poweroff" | 17 | //config: bool "poweroff (3.7 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: help | 19 | //config: help |
20 | //config: Stop all processes and power off the system. | 20 | //config: Stop all processes and power off the system. |
21 | //config: | 21 | //config: |
22 | //config:config REBOOT | 22 | //config:config REBOOT |
23 | //config: bool "reboot" | 23 | //config: bool "reboot (3.7 kb)" |
24 | //config: default y | 24 | //config: default y |
25 | //config: help | 25 | //config: help |
26 | //config: Stop all processes and reboot the system. | 26 | //config: Stop all processes and reboot the system. |
27 | //config: | 27 | //config: |
28 | //config:config FEATURE_CALL_TELINIT | 28 | //config:config FEATURE_CALL_TELINIT |
29 | //config: bool "Call telinit on shutdown and reboot" | 29 | //config: bool "Call telinit on shutdown and reboot" |
30 | //config: default y | 30 | //config: default y |
31 | //config: depends on (HALT || POWEROFF || REBOOT) && !INIT | 31 | //config: depends on (HALT || POWEROFF || REBOOT) && !INIT |
32 | //config: help | 32 | //config: help |
33 | //config: Call an external program (normally telinit) to facilitate | 33 | //config: Call an external program (normally telinit) to facilitate |
34 | //config: a switch to a proper runlevel. | 34 | //config: a switch to a proper runlevel. |
35 | //config: | 35 | //config: |
36 | //config: This option is only available if you selected halt and friends, | 36 | //config: This option is only available if you selected halt and friends, |
37 | //config: but did not select init. | 37 | //config: but did not select init. |
38 | //config: | 38 | //config: |
39 | //config:config TELINIT_PATH | 39 | //config:config TELINIT_PATH |
40 | //config: string "Path to telinit executable" | 40 | //config: string "Path to telinit executable" |
41 | //config: default "/sbin/telinit" | 41 | //config: default "/sbin/telinit" |
42 | //config: depends on FEATURE_CALL_TELINIT | 42 | //config: depends on FEATURE_CALL_TELINIT |
43 | //config: help | 43 | //config: help |
44 | //config: When busybox halt and friends have to call external telinit | 44 | //config: When busybox halt and friends have to call external telinit |
45 | //config: to facilitate proper shutdown, this path is to be used when | 45 | //config: to facilitate proper shutdown, this path is to be used when |
46 | //config: locating telinit executable. | 46 | //config: locating telinit executable. |
47 | 47 | ||
48 | //applet:IF_HALT(APPLET(halt, BB_DIR_SBIN, BB_SUID_DROP)) | 48 | //applet:IF_HALT(APPLET(halt, BB_DIR_SBIN, BB_SUID_DROP)) |
49 | // APPLET_ODDNAME:name main location suid_type help | 49 | // APPLET_ODDNAME:name main location suid_type help |