parent
84dd2746dd
commit
8588c39e7e
27
fluxion.sh
27
fluxion.sh
|
@ -254,6 +254,33 @@ fluxion_startup() {
|
|||
|
||||
echo # Do not remove.
|
||||
|
||||
sleep 0.1
|
||||
local -r fluxionRepository="https://github.com/FluxionNetwork/fluxion"
|
||||
format_center_literals "${CGrn}Site: ${CRed}$fluxionRepository$CClr"
|
||||
echo -e "$FormatCenterLiterals"
|
||||
|
||||
sleep 0.1
|
||||
local -r versionInfo="${CSRed}FLUXION $FLUXIONVersion$CClr"
|
||||
local -r revisionInfo="(rev. $CSBlu$FLUXIONRevision$CClr)"
|
||||
local -r credits="by$CCyn FluxionNetwork$CClr"
|
||||
format_center_literals "$versionInfo $revisionInfo $credits"
|
||||
echo -e "$FormatCenterLiterals"
|
||||
|
||||
sleep 0.1
|
||||
local -r fluxionDomain="raw.githubusercontent.com"
|
||||
local -r fluxionPath="FluxionNetwork/fluxion/master/fluxion.sh"
|
||||
local -r updateDomain="github.com"
|
||||
local -r updatePath="FluxionNetwork/fluxion/archive/master.zip"
|
||||
if installer_utils_check_update "https://$fluxionDomain/$fluxionPath" \
|
||||
"FLUXIONVersion=" "FLUXIONRevision=" \
|
||||
$FLUXIONVersion $FLUXIONRevision; then
|
||||
installer_utils_run_update "https://$updateDomain/$updatePath" \
|
||||
"FLUXION-V$FLUXIONVersion.$FLUXIONRevision" "$FLUXIONPath"
|
||||
fluxion_shutdown
|
||||
fi
|
||||
|
||||
echo # Do not remove.
|
||||
|
||||
local requiredCLITools=(
|
||||
"aircrack-ng" "bc" "awk:awk|gawk|mawk"
|
||||
"curl" "cowpatty" "dhcpd:isc-dhcp-server|dhcp" "7zr:p7zip" "hostapd" "lighttpd"
|
||||
|
|
Loading…
Reference in New Issue