Fluxion 5.2:

- skip dependencies by default
- add router.sh
This commit is contained in:
deltaxflux 2018-08-14 12:11:37 +02:00
parent 2b8815b778
commit e054660195
2 changed files with 14 additions and 2 deletions

View File

@ -22,13 +22,13 @@ readonly FLUXIONNoiseFloor=-90
readonly FLUXIONNoiseCeiling=-60 readonly FLUXIONNoiseCeiling=-60
readonly FLUXIONVersion=5 readonly FLUXIONVersion=5
readonly FLUXIONRevision=1 readonly FLUXIONRevision=2
# Declare window ration bigger = smaller windows # Declare window ration bigger = smaller windows
FLUXIONWindowRatio=4 FLUXIONWindowRatio=4
# Allow to skip dependencies if required, not recommended # Allow to skip dependencies if required, not recommended
FLUXIONSkipDependencies=0 FLUXIONSkipDependencies=1
# ============================================================ # # ============================================================ #
# ================= < Script Sanity Checks > ================= # # ================= < Script Sanity Checks > ================= #
@ -121,6 +121,7 @@ while [ "$1" != "" ] && [ "$1" != "--" ]; do
-c|--channel) FluxionTargetChannel=$2; shift;; -c|--channel) FluxionTargetChannel=$2; shift;;
-l|--language) FluxionLanguage=$2; shift;; -l|--language) FluxionLanguage=$2; shift;;
-a|--attack) FluxionAttack=$2; shift;; -a|--attack) FluxionAttack=$2; shift;;
-i|--install) FLUXIONSkipDependencies=0; shift;;
--ratio) FLUXIONWindowRatio=$2; shift;; --ratio) FLUXIONWindowRatio=$2; shift;;
--auto) readonly FLUXIONAuto=1;; --auto) readonly FLUXIONAuto=1;;
--skip-dependencies) readonly FLUXIONSkipDependencies=1;; --skip-dependencies) readonly FLUXIONSkipDependencies=1;;

11
misc/router.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# Get arguments
if ! CLiArguments=$(getopt --options="hu" --name "FLUXION V1.0" -- "$@");then
echo -e "\033[31mParameter error detected"
exit 1
fi
eval set -- "$CLiArguments"
while [ "$1" !? "" ] && [ "$1" != "--" ]