diff options
author | Denys Vlasenko | 2016-11-23 06:23:44 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-23 06:23:44 +0100 |
commit | f8f81ed7aaf90897fa9a4687dac75152740a71e2 (patch) | |
tree | a5c624d8187016e4369be0be2667a2f5de752d03 /procps/uptime.c | |
parent | f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (diff) | |
download | busybox-f8f81ed7aaf90897fa9a4687dac75152740a71e2.zip busybox-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.gz |
Convert all procps/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/uptime.c')
-rw-r--r-- | procps/uptime.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/procps/uptime.c b/procps/uptime.c index 149bae6..4361939 100644 --- a/procps/uptime.c +++ b/procps/uptime.c @@ -11,9 +11,6 @@ * * Added FEATURE_UPTIME_UTMP_SUPPORT flag. */ - -/* getopt not needed */ - //config:config UPTIME //config: bool "uptime" //config: default y @@ -30,6 +27,10 @@ //config: help //config: Makes uptime display the number of users currently logged on. +//applet:IF_UPTIME(APPLET(uptime, BB_DIR_USR_BIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_UPTIME) += uptime.o + //usage:#define uptime_trivial_usage //usage: "" //usage:#define uptime_full_usage "\n\n" |