diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 06:02:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 06:02:39 +0000 |
commit | 049d6b8c0812b20c024d714a9008cc94713a6175 (patch) | |
tree | af95f506cc36561eef6204a1bd915bc0467cdc24 /loginutils | |
parent | b7d8dd9ab18c5001b5a86127c94a07e3ee0125c7 (diff) | |
download | busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.tar.gz busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.tar.bz2 busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.zip |
Add CONFIG_FEATURE_SYSLOG which controls whether
bb_xx_msg will ever try to send output to syslog.
Add "select CONFIG_FEATURE_SYSLOG" to relevant applets.
This allows to omit syslog code if we do not have
any syslog-capable applets in the build.
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/Config.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in index 99265519e..71e0a3ae1 100644 --- a/loginutils/Config.in +++ b/loginutils/Config.in | |||
@@ -80,6 +80,7 @@ config CONFIG_DELUSER | |||
80 | config CONFIG_GETTY | 80 | config CONFIG_GETTY |
81 | bool "getty" | 81 | bool "getty" |
82 | default n | 82 | default n |
83 | select CONFIG_FEATURE_SYSLOG | ||
83 | help | 84 | help |
84 | getty lets you log in on a tty, it is normally invoked by init. | 85 | getty lets you log in on a tty, it is normally invoked by init. |
85 | 86 | ||
@@ -103,6 +104,7 @@ config CONFIG_LOGIN | |||
103 | bool "login" | 104 | bool "login" |
104 | default n | 105 | default n |
105 | select CONFIG_FEATURE_SUID | 106 | select CONFIG_FEATURE_SUID |
107 | select CONFIG_FEATURE_SYSLOG | ||
106 | help | 108 | help |
107 | login is used when signing onto a system. | 109 | login is used when signing onto a system. |
108 | 110 | ||
@@ -122,6 +124,7 @@ config CONFIG_PASSWD | |||
122 | bool "passwd" | 124 | bool "passwd" |
123 | default n | 125 | default n |
124 | select CONFIG_FEATURE_SUID | 126 | select CONFIG_FEATURE_SUID |
127 | select CONFIG_FEATURE_SYSLOG | ||
125 | help | 128 | help |
126 | passwd changes passwords for user and group accounts. A normal user | 129 | passwd changes passwords for user and group accounts. A normal user |
127 | may only change the password for his/her own account, the super user | 130 | may only change the password for his/her own account, the super user |
@@ -135,6 +138,7 @@ config CONFIG_SU | |||
135 | bool "su" | 138 | bool "su" |
136 | default n | 139 | default n |
137 | select CONFIG_FEATURE_SUID | 140 | select CONFIG_FEATURE_SUID |
141 | select CONFIG_FEATURE_SYSLOG | ||
138 | help | 142 | help |
139 | su is used to become another user during a login session. | 143 | su is used to become another user during a login session. |
140 | Invoked without a username, su defaults to becoming the super user. | 144 | Invoked without a username, su defaults to becoming the super user. |
@@ -152,6 +156,7 @@ config CONFIG_SU_SYSLOG | |||
152 | config CONFIG_SULOGIN | 156 | config CONFIG_SULOGIN |
153 | bool "sulogin" | 157 | bool "sulogin" |
154 | default n | 158 | default n |
159 | select CONFIG_FEATURE_SYSLOG | ||
155 | help | 160 | help |
156 | sulogin is invoked when the system goes into single user | 161 | sulogin is invoked when the system goes into single user |
157 | mode (this is done through an entry in inittab). | 162 | mode (this is done through an entry in inittab). |