Update update funtion

This commit is contained in:
deltaxflux 2017-05-01 19:29:01 +02:00
parent 535bc025d8
commit 968a281933
1 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ HANDSHAKE_PATH="/root/handshakes"
PASSLOG_PATH="/root/pwlog"
WORK_DIR=`pwd`
DEAUTHTIME="9999999999999"
revision=5
revision=6
version=2
IP=192.168.1.1
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
@ -404,9 +404,9 @@ if [ $FLUX_DEBUG != 1 ]; then
echo""
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
echo -e $green " Page:"$red" https://fluxion.tk/ "$transparent
echo -e $green " Page:"$red"https://github.com/FluxionNetwork/fluxion "$transparent
sleep 0.1
echo -n " Latest rev."
tput civis
@ -427,7 +427,7 @@ if [ $FLUX_DEBUG != 1 ]; then
if [ "$doupdate" = "Y" ]; then
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