aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-04-06 18:48:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-04-06 18:48:32 +0200
commit6dbbac5d4fbe1bd84f5dae4a271b4934a366d199 (patch)
tree9a5c182c33b1d125e45b10b2c12f027c721c6b9f
parentf6916dbed4233ef0e202d1b299cb5a2e9287a696 (diff)
downloadbusybox-w32-6dbbac5d4fbe1bd84f5dae4a271b4934a366d199.tar.gz
busybox-w32-6dbbac5d4fbe1bd84f5dae4a271b4934a366d199.tar.bz2
busybox-w32-6dbbac5d4fbe1bd84f5dae4a271b4934a366d199.zip
Move utmp/wtmp support to "General configuration" section
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--Config.in20
-rw-r--r--coreutils/Config.in2
-rw-r--r--loginutils/Config.in16
-rw-r--r--miscutils/Config.in2
4 files changed, 22 insertions, 18 deletions
diff --git a/Config.in b/Config.in
index bb7dd6d5d..323b96cfc 100644
--- a/Config.in
+++ b/Config.in
@@ -252,6 +252,26 @@ config FEATURE_CLEAN_UP
252 Don't enable this unless you have a really good reason to clean 252 Don't enable this unless you have a really good reason to clean
253 things up manually. 253 things up manually.
254 254
255config FEATURE_UTMP
256 bool "Support utmp file"
257 default n
258 help
259 The file /var/run/utmp is used to track who is currently logged in.
260 With this option on, certain applets (getty, login, telnetd etc)
261 will create and delete entries there.
262 "who" apples requires this option.
263
264config FEATURE_WTMP
265 bool "Support wtmp file"
266 default n
267 select FEATURE_UTMP
268 help
269 The file /var/run/wtmp is used to track when users have logged into
270 and logged out of the system.
271 With this option on, certain applets (getty, login, telnetd etc)
272 will append new entries there.
273 "last" apples requires this option.
274
255config FEATURE_PIDFILE 275config FEATURE_PIDFILE
256 bool "Support writing pidfiles" 276 bool "Support writing pidfiles"
257 default n 277 default n
diff --git a/coreutils/Config.in b/coreutils/Config.in
index 297f4655d..ead632a31 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -825,7 +825,7 @@ config FEATURE_WC_LARGE
825config WHO 825config WHO
826 bool "who" 826 bool "who"
827 default n 827 default n
828 select FEATURE_UTMP 828 depends on FEATURE_UTMP
829 help 829 help
830 who is used to show who is logged on. 830 who is used to show who is logged on.
831 831
diff --git a/loginutils/Config.in b/loginutils/Config.in
index f6c0e2e64..a9b5f5a9f 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -181,22 +181,6 @@ config GETTY
181 help 181 help
182 getty lets you log in on a tty, it is normally invoked by init. 182 getty lets you log in on a tty, it is normally invoked by init.
183 183
184config FEATURE_UTMP
185 bool "Support utmp file"
186 depends on GETTY || LOGIN || SU || WHO
187 default n
188 help
189 The file /var/run/utmp is used to track who is currently logged in.
190
191config FEATURE_WTMP
192 bool "Support wtmp file"
193 depends on GETTY || LOGIN || SU || LAST
194 default n
195 select FEATURE_UTMP
196 help
197 The file /var/run/wtmp is used to track when user's have logged into
198 and logged out of the system.
199
200config LOGIN 184config LOGIN
201 bool "login" 185 bool "login"
202 default n 186 default n
diff --git a/miscutils/Config.in b/miscutils/Config.in
index ebf98f98c..0469b6399 100644
--- a/miscutils/Config.in
+++ b/miscutils/Config.in
@@ -317,7 +317,7 @@ config INOTIFYD
317config LAST 317config LAST
318 bool "last" 318 bool "last"
319 default n 319 default n
320 select FEATURE_WTMP 320 depends on FEATURE_WTMP
321 help 321 help
322 'last' displays a list of the last users that logged into the system. 322 'last' displays a list of the last users that logged into the system.
323 323