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 FLUXIONVersion=4
|
||||
readonly FLUXIONRevision=4
|
||||
readonly FLUXIONRevision=5
|
||||
|
||||
# Declare window ration bigger = smaller windows
|
||||
FLUXIONWindowRatio=4
|
||||
|
@ -164,7 +164,8 @@ fi
|
|||
|
||||
# FLUXIONDebug [Normal Mode "" / Developer Mode 1]
|
||||
if [ $FLUXIONDebug ]; then
|
||||
readonly FLUXIONOutputDevice="/dev/stdout"
|
||||
touch /tmp/fluxion_debug_log
|
||||
readonly FLUXIONOutputDevice="/tmp/fluxion_debug_log"
|
||||
readonly FLUXIONHoldXterm="-hold"
|
||||
else
|
||||
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
|
||||
function installer_utils_run_dependencies() {
|
||||
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.
|
||||
local __installer_utils_run_dependencies__dependenciesInfo=("${!1}")
|
||||
|
|
Loading…
Reference in New Issue