remove auto-update
This commit is contained in:
parent
53718ca38a
commit
3662c1c2b5
27
fluxion.sh
27
fluxion.sh
|
@ -250,33 +250,6 @@ fluxion_startup() {
|
||||||
|
|
||||||
echo # Do not remove.
|
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=(
|
local requiredCLITools=(
|
||||||
"aircrack-ng" "bc" "awk:awk|gawk|mawk"
|
"aircrack-ng" "bc" "awk:awk|gawk|mawk"
|
||||||
"curl" "cowpatty" "dhcpd:isc-dhcp-server|dhcp" "7zr:p7zip" "hostapd" "lighttpd"
|
"curl" "cowpatty" "dhcpd:isc-dhcp-server|dhcp" "7zr:p7zip" "hostapd" "lighttpd"
|
||||||
|
|
Loading…
Reference in New Issue