aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2014-12-22 01:55:54 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-12-22 01:55:54 +0100
commita6588fa10230e7b87990482773a445701abbaae8 (patch)
tree559b9b5d7130f8d8dfee0fb41f0ef343c52177b0
parent28634924f0950f1938ea74a7808d412dc1063fd0 (diff)
downloadbusybox-a6588fa10230e7b87990482773a445701abbaae8.tar.gz
Make it possible to override LOGIN_FAIL_DELAY in CONFIG_EXTRA_CFLAGS
Signed-off-by: Peter Kümmel <syntheticpp@gmx.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 8e8b9ca0e..68a7cf002 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1271,7 +1271,9 @@ char *bb_simplify_path(const char *path) FAST_FUNC;
/* Returns ptr to NUL */
char *bb_simplify_abs_path_inplace(char *path) FAST_FUNC;
+#ifndef LOGIN_FAIL_DELAY
#define LOGIN_FAIL_DELAY 3
+#endif
extern void bb_do_delay(int seconds) FAST_FUNC;
extern void change_identity(const struct passwd *pw) FAST_FUNC;
extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) NORETURN FAST_FUNC;