- add ash read -t timeout support. initial code provided by Tim Yamin on Oct/21/2004 on the busybox mailing list. Edited his code a little to keep syntax highlighers happy and make it optional when CONFIG_ASH_TIMEOUT is defined
diff --git a/shell/Config.in b/shell/Config.in
index bdba40d..1a3c388 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -53,6 +53,17 @@
help
Enable job control in the ash shell.
+config CONFIG_ASH_TIMEOUT
+ bool " Enable read timeout support."
+ default n
+ depends on CONFIG_ASH_JOB_CONTROL
+ help
+ This option provides read -t <seconds> support.
+
+ read builtin which allows the function to pass control back
+ if no character input is read from the terminal within a set
+ number of seconds.
+
config CONFIG_ASH_ALIAS
bool " Enable alias support"
default y