Merge pull request #2 from deltaxflux/master
Quick patch for update function
This commit is contained in:
commit
d26fd8ed37
8
fluxion
8
fluxion
|
@ -36,7 +36,7 @@ HANDSHAKE_PATH="/root/handshakes"
|
||||||
PASSLOG_PATH="/root/pwlog"
|
PASSLOG_PATH="/root/pwlog"
|
||||||
WORK_DIR=`pwd`
|
WORK_DIR=`pwd`
|
||||||
DEAUTHTIME="9999999999999"
|
DEAUTHTIME="9999999999999"
|
||||||
revision=5
|
revision=6
|
||||||
version=2
|
version=2
|
||||||
IP=192.168.1.1
|
IP=192.168.1.1
|
||||||
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
|
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
|
||||||
|
@ -404,9 +404,9 @@ if [ $FLUX_DEBUG != 1 ]; then
|
||||||
echo""
|
echo""
|
||||||
|
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
echo -e $red" FLUX "$white""$version" (rev. "$green "$revision"$white") "$yellow"by "$white" ghost"
|
echo -e $red" FLUXION "$white""$version" (rev. "$green "$revision"$white") "$yellow"by "$white" ghost"
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
echo -e $green " Page:"$red" https://fluxion.tk/ "$transparent
|
echo -e $green " Page:"$red"https://github.com/FluxionNetwork/fluxion "$transparent
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
echo -n " Latest rev."
|
echo -n " Latest rev."
|
||||||
tput civis
|
tput civis
|
||||||
|
@ -427,7 +427,7 @@ if [ $FLUX_DEBUG != 1 ]; then
|
||||||
if [ "$doupdate" = "Y" ]; then
|
if [ "$doupdate" = "Y" ]; then
|
||||||
|
|
||||||
cp $0 $HOME/flux_rev-$revision.backup
|
cp $0 $HOME/flux_rev-$revision.backup
|
||||||
curl "https://fluxion.tk/fluxion" -s -o $0
|
curl "raw.githubusercontent.com/FluxionNetwork/fluxion/master/fluxion" -s -o $0
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue