diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-21 09:50:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-21 09:50:55 +0200 |
commit | 72089cf6b4a77214ec4fd21d5ee5bf56958781cb (patch) | |
tree | a5cd9d8f47e909834d3dbc44f895556e68bcf18f /sysklogd | |
parent | 75d151e31d135ebab083307ded4e9b98970baa75 (diff) | |
download | busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.tar.gz busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.tar.bz2 busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.zip |
config: deindent all help texts
Those two spaces after tab have no effect, and always a nuisance when editing.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/klogd.c | 26 | ||||
-rw-r--r-- | sysklogd/logger.c | 8 | ||||
-rw-r--r-- | sysklogd/logread.c | 18 | ||||
-rw-r--r-- | sysklogd/syslogd.c | 82 |
4 files changed, 67 insertions, 67 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index b20d86174..728cc8d38 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c | |||
@@ -20,11 +20,11 @@ | |||
20 | //config: bool "klogd (5.5 kb)" | 20 | //config: bool "klogd (5.5 kb)" |
21 | //config: default y | 21 | //config: default y |
22 | //config: help | 22 | //config: help |
23 | //config: klogd is a utility which intercepts and logs all | 23 | //config: klogd is a utility which intercepts and logs all |
24 | //config: messages from the Linux kernel and sends the messages | 24 | //config: messages from the Linux kernel and sends the messages |
25 | //config: out to the 'syslogd' utility so they can be logged. If | 25 | //config: out to the 'syslogd' utility so they can be logged. If |
26 | //config: you wish to record the messages produced by the kernel, | 26 | //config: you wish to record the messages produced by the kernel, |
27 | //config: you should enable this option. | 27 | //config: you should enable this option. |
28 | //config: | 28 | //config: |
29 | //config:comment "klogd should not be used together with syslog to kernel printk buffer" | 29 | //config:comment "klogd should not be used together with syslog to kernel printk buffer" |
30 | //config: depends on KLOGD && FEATURE_KMSG_SYSLOG | 30 | //config: depends on KLOGD && FEATURE_KMSG_SYSLOG |
@@ -35,16 +35,16 @@ | |||
35 | //config: depends on KLOGD | 35 | //config: depends on KLOGD |
36 | //config: select PLATFORM_LINUX | 36 | //config: select PLATFORM_LINUX |
37 | //config: help | 37 | //config: help |
38 | //config: The klogd applet supports two interfaces for reading | 38 | //config: The klogd applet supports two interfaces for reading |
39 | //config: kernel messages. Linux provides the klogctl() interface | 39 | //config: kernel messages. Linux provides the klogctl() interface |
40 | //config: which allows reading messages from the kernel ring buffer | 40 | //config: which allows reading messages from the kernel ring buffer |
41 | //config: independently from the file system. | 41 | //config: independently from the file system. |
42 | //config: | 42 | //config: |
43 | //config: If you answer 'N' here, klogd will use the more portable | 43 | //config: If you answer 'N' here, klogd will use the more portable |
44 | //config: approach of reading them from /proc or a device node. | 44 | //config: approach of reading them from /proc or a device node. |
45 | //config: However, this method requires the file to be available. | 45 | //config: However, this method requires the file to be available. |
46 | //config: | 46 | //config: |
47 | //config: If in doubt, say 'Y'. | 47 | //config: If in doubt, say 'Y'. |
48 | 48 | ||
49 | //applet:IF_KLOGD(APPLET(klogd, BB_DIR_SBIN, BB_SUID_DROP)) | 49 | //applet:IF_KLOGD(APPLET(klogd, BB_DIR_SBIN, BB_SUID_DROP)) |
50 | 50 | ||
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 09fed0c73..6769a8175 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -11,10 +11,10 @@ | |||
11 | //config: default y | 11 | //config: default y |
12 | //config: select FEATURE_SYSLOG | 12 | //config: select FEATURE_SYSLOG |
13 | //config: help | 13 | //config: help |
14 | //config: The logger utility allows you to send arbitrary text | 14 | //config: The logger utility allows you to send arbitrary text |
15 | //config: messages to the system log (i.e. the 'syslogd' utility) so | 15 | //config: messages to the system log (i.e. the 'syslogd' utility) so |
16 | //config: they can be logged. This is generally used to help locate | 16 | //config: they can be logged. This is generally used to help locate |
17 | //config: problems that occur within programs and scripts. | 17 | //config: problems that occur within programs and scripts. |
18 | 18 | ||
19 | //applet:IF_LOGGER(APPLET(logger, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_LOGGER(APPLET(logger, BB_DIR_USR_BIN, BB_SUID_DROP)) |
20 | 20 | ||
diff --git a/sysklogd/logread.c b/sysklogd/logread.c index dd4c7cb6d..da552e087 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c | |||
@@ -14,21 +14,21 @@ | |||
14 | //WRONG: it should be compilable without SYSLOG=y: | 14 | //WRONG: it should be compilable without SYSLOG=y: |
15 | //WRONG: depends on FEATURE_IPC_SYSLOG | 15 | //WRONG: depends on FEATURE_IPC_SYSLOG |
16 | //config: help | 16 | //config: help |
17 | //config: If you enabled Circular Buffer support, you almost | 17 | //config: If you enabled Circular Buffer support, you almost |
18 | //config: certainly want to enable this feature as well. This | 18 | //config: certainly want to enable this feature as well. This |
19 | //config: utility will allow you to read the messages that are | 19 | //config: utility will allow you to read the messages that are |
20 | //config: stored in the syslogd circular buffer. | 20 | //config: stored in the syslogd circular buffer. |
21 | //config: | 21 | //config: |
22 | //config:config FEATURE_LOGREAD_REDUCED_LOCKING | 22 | //config:config FEATURE_LOGREAD_REDUCED_LOCKING |
23 | //config: bool "Double buffering" | 23 | //config: bool "Double buffering" |
24 | //config: default y | 24 | //config: default y |
25 | //config: depends on LOGREAD | 25 | //config: depends on LOGREAD |
26 | //config: help | 26 | //config: help |
27 | //config: 'logread' output to slow serial terminals can have | 27 | //config: 'logread' output to slow serial terminals can have |
28 | //config: side effects on syslog because of the semaphore. | 28 | //config: side effects on syslog because of the semaphore. |
29 | //config: This option make logread to double buffer copy | 29 | //config: This option make logread to double buffer copy |
30 | //config: from circular buffer, minimizing semaphore | 30 | //config: from circular buffer, minimizing semaphore |
31 | //config: contention at some minor memory expense. | 31 | //config: contention at some minor memory expense. |
32 | //config: | 32 | //config: |
33 | 33 | ||
34 | //applet:IF_LOGREAD(APPLET(logread, BB_DIR_SBIN, BB_SUID_DROP)) | 34 | //applet:IF_LOGREAD(APPLET(logread, BB_DIR_SBIN, BB_SUID_DROP)) |
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index a9c9c69bc..31730a7f9 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -16,53 +16,53 @@ | |||
16 | //config: bool "syslogd (12 kb)" | 16 | //config: bool "syslogd (12 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: The syslogd utility is used to record logs of all the | 19 | //config: The syslogd utility is used to record logs of all the |
20 | //config: significant events that occur on a system. Every | 20 | //config: significant events that occur on a system. Every |
21 | //config: message that is logged records the date and time of the | 21 | //config: message that is logged records the date and time of the |
22 | //config: event, and will generally also record the name of the | 22 | //config: event, and will generally also record the name of the |
23 | //config: application that generated the message. When used in | 23 | //config: application that generated the message. When used in |
24 | //config: conjunction with klogd, messages from the Linux kernel | 24 | //config: conjunction with klogd, messages from the Linux kernel |
25 | //config: can also be recorded. This is terribly useful, | 25 | //config: can also be recorded. This is terribly useful, |
26 | //config: especially for finding what happened when something goes | 26 | //config: especially for finding what happened when something goes |
27 | //config: wrong. And something almost always will go wrong if | 27 | //config: wrong. And something almost always will go wrong if |
28 | //config: you wait long enough.... | 28 | //config: you wait long enough.... |
29 | //config: | 29 | //config: |
30 | //config:config FEATURE_ROTATE_LOGFILE | 30 | //config:config FEATURE_ROTATE_LOGFILE |
31 | //config: bool "Rotate message files" | 31 | //config: bool "Rotate message files" |
32 | //config: default y | 32 | //config: default y |
33 | //config: depends on SYSLOGD | 33 | //config: depends on SYSLOGD |
34 | //config: help | 34 | //config: help |
35 | //config: This enables syslogd to rotate the message files | 35 | //config: This enables syslogd to rotate the message files |
36 | //config: on his own. No need to use an external rotate script. | 36 | //config: on his own. No need to use an external rotate script. |
37 | //config: | 37 | //config: |
38 | //config:config FEATURE_REMOTE_LOG | 38 | //config:config FEATURE_REMOTE_LOG |
39 | //config: bool "Remote Log support" | 39 | //config: bool "Remote Log support" |
40 | //config: default y | 40 | //config: default y |
41 | //config: depends on SYSLOGD | 41 | //config: depends on SYSLOGD |
42 | //config: help | 42 | //config: help |
43 | //config: When you enable this feature, the syslogd utility can | 43 | //config: When you enable this feature, the syslogd utility can |
44 | //config: be used to send system log messages to another system | 44 | //config: be used to send system log messages to another system |
45 | //config: connected via a network. This allows the remote | 45 | //config: connected via a network. This allows the remote |
46 | //config: machine to log all the system messages, which can be | 46 | //config: machine to log all the system messages, which can be |
47 | //config: terribly useful for reducing the number of serial | 47 | //config: terribly useful for reducing the number of serial |
48 | //config: cables you use. It can also be a very good security | 48 | //config: cables you use. It can also be a very good security |
49 | //config: measure to prevent system logs from being tampered with | 49 | //config: measure to prevent system logs from being tampered with |
50 | //config: by an intruder. | 50 | //config: by an intruder. |
51 | //config: | 51 | //config: |
52 | //config:config FEATURE_SYSLOGD_DUP | 52 | //config:config FEATURE_SYSLOGD_DUP |
53 | //config: bool "Support -D (drop dups) option" | 53 | //config: bool "Support -D (drop dups) option" |
54 | //config: default y | 54 | //config: default y |
55 | //config: depends on SYSLOGD | 55 | //config: depends on SYSLOGD |
56 | //config: help | 56 | //config: help |
57 | //config: Option -D instructs syslogd to drop consecutive messages | 57 | //config: Option -D instructs syslogd to drop consecutive messages |
58 | //config: which are totally the same. | 58 | //config: which are totally the same. |
59 | //config: | 59 | //config: |
60 | //config:config FEATURE_SYSLOGD_CFG | 60 | //config:config FEATURE_SYSLOGD_CFG |
61 | //config: bool "Support syslog.conf" | 61 | //config: bool "Support syslog.conf" |
62 | //config: default y | 62 | //config: default y |
63 | //config: depends on SYSLOGD | 63 | //config: depends on SYSLOGD |
64 | //config: help | 64 | //config: help |
65 | //config: Supports restricted syslogd config. See docs/syslog.conf.txt | 65 | //config: Supports restricted syslogd config. See docs/syslog.conf.txt |
66 | //config: | 66 | //config: |
67 | //config:config FEATURE_SYSLOGD_READ_BUFFER_SIZE | 67 | //config:config FEATURE_SYSLOGD_READ_BUFFER_SIZE |
68 | //config: int "Read buffer size in bytes" | 68 | //config: int "Read buffer size in bytes" |
@@ -70,23 +70,23 @@ | |||
70 | //config: range 256 20000 | 70 | //config: range 256 20000 |
71 | //config: depends on SYSLOGD | 71 | //config: depends on SYSLOGD |
72 | //config: help | 72 | //config: help |
73 | //config: This option sets the size of the syslog read buffer. | 73 | //config: This option sets the size of the syslog read buffer. |
74 | //config: Actual memory usage increases around five times the | 74 | //config: Actual memory usage increases around five times the |
75 | //config: change done here. | 75 | //config: change done here. |
76 | //config: | 76 | //config: |
77 | //config:config FEATURE_IPC_SYSLOG | 77 | //config:config FEATURE_IPC_SYSLOG |
78 | //config: bool "Circular Buffer support" | 78 | //config: bool "Circular Buffer support" |
79 | //config: default y | 79 | //config: default y |
80 | //config: depends on SYSLOGD | 80 | //config: depends on SYSLOGD |
81 | //config: help | 81 | //config: help |
82 | //config: When you enable this feature, the syslogd utility will | 82 | //config: When you enable this feature, the syslogd utility will |
83 | //config: use a circular buffer to record system log messages. | 83 | //config: use a circular buffer to record system log messages. |
84 | //config: When the buffer is filled it will continue to overwrite | 84 | //config: When the buffer is filled it will continue to overwrite |
85 | //config: the oldest messages. This can be very useful for | 85 | //config: the oldest messages. This can be very useful for |
86 | //config: systems with little or no permanent storage, since | 86 | //config: systems with little or no permanent storage, since |
87 | //config: otherwise system logs can eventually fill up your | 87 | //config: otherwise system logs can eventually fill up your |
88 | //config: entire filesystem, which may cause your system to | 88 | //config: entire filesystem, which may cause your system to |
89 | //config: break badly. | 89 | //config: break badly. |
90 | //config: | 90 | //config: |
91 | //config:config FEATURE_IPC_SYSLOG_BUFFER_SIZE | 91 | //config:config FEATURE_IPC_SYSLOG_BUFFER_SIZE |
92 | //config: int "Circular buffer size in Kbytes (minimum 4KB)" | 92 | //config: int "Circular buffer size in Kbytes (minimum 4KB)" |
@@ -94,8 +94,8 @@ | |||
94 | //config: range 4 2147483647 | 94 | //config: range 4 2147483647 |
95 | //config: depends on FEATURE_IPC_SYSLOG | 95 | //config: depends on FEATURE_IPC_SYSLOG |
96 | //config: help | 96 | //config: help |
97 | //config: This option sets the size of the circular buffer | 97 | //config: This option sets the size of the circular buffer |
98 | //config: used to record system log messages. | 98 | //config: used to record system log messages. |
99 | //config: | 99 | //config: |
100 | //config:config FEATURE_KMSG_SYSLOG | 100 | //config:config FEATURE_KMSG_SYSLOG |
101 | //config: bool "Linux kernel printk buffer support" | 101 | //config: bool "Linux kernel printk buffer support" |
@@ -103,12 +103,12 @@ | |||
103 | //config: depends on SYSLOGD | 103 | //config: depends on SYSLOGD |
104 | //config: select PLATFORM_LINUX | 104 | //config: select PLATFORM_LINUX |
105 | //config: help | 105 | //config: help |
106 | //config: When you enable this feature, the syslogd utility will | 106 | //config: When you enable this feature, the syslogd utility will |
107 | //config: write system log message to the Linux kernel's printk buffer. | 107 | //config: write system log message to the Linux kernel's printk buffer. |
108 | //config: This can be used as a smaller alternative to the syslogd IPC | 108 | //config: This can be used as a smaller alternative to the syslogd IPC |
109 | //config: support, as klogd and logread aren't needed. | 109 | //config: support, as klogd and logread aren't needed. |
110 | //config: | 110 | //config: |
111 | //config: NOTICE: Syslog facilities in log entries needs kernel 3.5+. | 111 | //config: NOTICE: Syslog facilities in log entries needs kernel 3.5+. |
112 | 112 | ||
113 | //applet:IF_SYSLOGD(APPLET(syslogd, BB_DIR_SBIN, BB_SUID_DROP)) | 113 | //applet:IF_SYSLOGD(APPLET(syslogd, BB_DIR_SBIN, BB_SUID_DROP)) |
114 | 114 | ||