diff options
author | Denys Vlasenko | 2016-11-22 23:54:17 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-22 23:54:17 +0100 |
commit | f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (patch) | |
tree | 6e7fd8f8f547fcf01bb9d55da2ace429ab3b53f6 /miscutils/timeout.c | |
parent | fb4da167114e96d7f20ef97474f976f8ffa604e7 (diff) | |
download | busybox-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.zip busybox-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.gz |
Convert all miscutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/timeout.c')
-rw-r--r-- | miscutils/timeout.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c index 4d598ea..f29dc8a 100644 --- a/miscutils/timeout.c +++ b/miscutils/timeout.c @@ -34,6 +34,10 @@ //config: Runs a program and watches it. If it does not terminate in //config: specified number of seconds, it is sent a signal. +//applet:IF_TIMEOUT(APPLET(timeout, BB_DIR_USR_BIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_TIMEOUT) += timeout.o + //usage:#define timeout_trivial_usage //usage: "[-t SECS] [-s SIG] PROG ARGS" //usage:#define timeout_full_usage "\n\n" |