diff options
Diffstat (limited to 'debianutils/run_parts.c')
-rw-r--r-- | debianutils/run_parts.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c index dd6fe7d49..13617c6e1 100644 --- a/debianutils/run_parts.c +++ b/debianutils/run_parts.c | |||
@@ -22,6 +22,40 @@ | |||
22 | * report mode. As the original run-parts support only long options, I've | 22 | * report mode. As the original run-parts support only long options, I've |
23 | * broken compatibility because the BusyBox policy doesn't allow them. | 23 | * broken compatibility because the BusyBox policy doesn't allow them. |
24 | */ | 24 | */ |
25 | //config:config RUN_PARTS | ||
26 | //config: bool "run-parts" | ||
27 | //config: default y | ||
28 | //config: help | ||
29 | //config: run-parts is a utility designed to run all the scripts in a directory. | ||
30 | //config: | ||
31 | //config: It is useful to set up a directory like cron.daily, where you need to | ||
32 | //config: execute all the scripts in that directory. | ||
33 | //config: | ||
34 | //config: In this implementation of run-parts some features (such as report | ||
35 | //config: mode) are not implemented. | ||
36 | //config: | ||
37 | //config: Unless you know that run-parts is used in some of your scripts | ||
38 | //config: you can safely say N here. | ||
39 | //config: | ||
40 | //config:config FEATURE_RUN_PARTS_LONG_OPTIONS | ||
41 | //config: bool "Enable long options" | ||
42 | //config: default y | ||
43 | //config: depends on RUN_PARTS && LONG_OPTS | ||
44 | //config: help | ||
45 | //config: Support long options for the run-parts applet. | ||
46 | //config: | ||
47 | //config:config FEATURE_RUN_PARTS_FANCY | ||
48 | //config: bool "Support additional arguments" | ||
49 | //config: default y | ||
50 | //config: depends on RUN_PARTS | ||
51 | //config: help | ||
52 | //config: Support additional options: | ||
53 | //config: -l --list print the names of the all matching files (not | ||
54 | //config: limited to executables), but don't actually run them. | ||
55 | |||
56 | //applet:IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, BB_DIR_BIN, BB_SUID_DROP, run_parts)) | ||
57 | |||
58 | //kbuild:lib-$(CONFIG_RUN_PARTS) += run_parts.o | ||
25 | 59 | ||
26 | //usage:#define run_parts_trivial_usage | 60 | //usage:#define run_parts_trivial_usage |
27 | //usage: "[-a ARG]... [-u UMASK] " | 61 | //usage: "[-a ARG]... [-u UMASK] " |