Minor changes: Change debug function
This commit is contained in:
parent
20f737ef97
commit
940ed0653a
|
@ -23,7 +23,7 @@ readonly FLUXIONNoiseFloor=-90
|
||||||
readonly FLUXIONNoiseCeiling=-60
|
readonly FLUXIONNoiseCeiling=-60
|
||||||
|
|
||||||
readonly FLUXIONVersion=4
|
readonly FLUXIONVersion=4
|
||||||
readonly FLUXIONRevision=4
|
readonly FLUXIONRevision=5
|
||||||
|
|
||||||
# Declare window ration bigger = smaller windows
|
# Declare window ration bigger = smaller windows
|
||||||
FLUXIONWindowRatio=4
|
FLUXIONWindowRatio=4
|
||||||
|
@ -164,7 +164,8 @@ fi
|
||||||
|
|
||||||
# FLUXIONDebug [Normal Mode "" / Developer Mode 1]
|
# FLUXIONDebug [Normal Mode "" / Developer Mode 1]
|
||||||
if [ $FLUXIONDebug ]; then
|
if [ $FLUXIONDebug ]; then
|
||||||
readonly FLUXIONOutputDevice="/dev/stdout"
|
touch /tmp/fluxion_debug_log
|
||||||
|
readonly FLUXIONOutputDevice="/tmp/fluxion_debug_log"
|
||||||
readonly FLUXIONHoldXterm="-hold"
|
readonly FLUXIONHoldXterm="-hold"
|
||||||
else
|
else
|
||||||
readonly FLUXIONOutputDevice="/dev/null"
|
readonly FLUXIONOutputDevice="/dev/null"
|
||||||
|
|
|
@ -190,7 +190,7 @@ function installer_utils_check_dependencies() {
|
||||||
# Parameters: $1 - CLI Tools missing array (will be installed) $2 - substitutes array
|
# Parameters: $1 - CLI Tools missing array (will be installed) $2 - substitutes array
|
||||||
function installer_utils_run_dependencies() {
|
function installer_utils_run_dependencies() {
|
||||||
if [ ! "$1" ]; then return 1; fi
|
if [ ! "$1" ]; then return 1; fi
|
||||||
ping -q -w 1 -c 8.8.8.8 2> /dev/null || echo -e "\n[!] No internet connection found"; exit 1
|
ping -q -w 1 -c 1 8.8.8.8 > /dev/null || $(echo -e "\n[!] No internet connection found"; exit 1)
|
||||||
|
|
||||||
# The array below holds all the packages that will be installed.
|
# The array below holds all the packages that will be installed.
|
||||||
local __installer_utils_run_dependencies__dependenciesInfo=("${!1}")
|
local __installer_utils_run_dependencies__dependenciesInfo=("${!1}")
|
||||||
|
|
Loading…
Reference in New Issue