From af2c57570a39a612a8ea6efc27da99eb3b8a3b51 Mon Sep 17 00:00:00 2001 From: deltax Date: Sun, 2 Oct 2016 21:33:25 +0200 Subject: [PATCH] Add IQ check --- fluxion | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/fluxion b/fluxion index eb888a5..d4469f7 100755 --- a/fluxion +++ b/fluxion @@ -1132,10 +1132,34 @@ function deltax { rm -rf $DUMP_PATH/* - choosescan + iq selection } +#iq check +function iq { + + conditional_clear + + while true; do + conditional_clear + top + echo "" + echo -e "${red}IQ ChecK ${transparent}" + echo + echo "Type the password to continue" + echo "Please respect your law in your country" + echo -e "Password: $red lkswop $transparent" + echo " " + echo -n " #> " + read yn + echo "" + case $yn in + lkswop ) choosescan ; break ;; + * ) echo "IQ test failed, exit...";sleep 2; exitmode ;; + esac + done +} # Select channel function choosescan {