Edit: Button Variable

Put button wait time to variable.
pull/23/head
Sebastian Seifert 2017-11-13 13:19:41 +01:00
parent ff32e6c548
commit 644651721f
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
NGREP_OPTIONS=("-wiql" "user|pass" "port" "21") NGREP_OPTIONS=("-wiql" "user|pass" "port" "21")
CONDITION="" CONDITION=""
WCNUM=3 WCNUM=3
BUTTON_WAIT="5s"
LOOT_DIR="/mnt/loot/ngrep" LOOT_DIR="/mnt/loot/ngrep"
LOG_FILE="${LOOT_DIR}/ngrep-${RANDOM}.log" LOG_FILE="${LOOT_DIR}/ngrep-${RANDOM}.log"
@ -45,7 +46,7 @@ function run() {
do do
NO_LED=true BUTTON && { NO_LED=true BUTTON && {
checkLog && { checkLog && {
BUTTON 5s && { BUTTON $BUTTON_WAIT && {
LED FINISH LED FINISH
kill $npid kill $npid