mirror of https://framagit.org/kyodev/kyopages.git
getIp 1.16.1
This commit is contained in:
parent
d1c4c4249d
commit
a1771ba38b
|
@ -207,6 +207,7 @@ f__wget_test(){ # 5/12/2017
|
||||||
else
|
else
|
||||||
echo -e "$BLUE $1$STD\t$GREEN $retourHttp"
|
echo -e "$BLUE $1$STD\t$GREEN $retourHttp"
|
||||||
fi
|
fi
|
||||||
|
echo "$STD"
|
||||||
fi
|
fi
|
||||||
if [ "$2" == "print" ] || [ "$2" == "loc" ]; then
|
if [ "$2" == "print" ] || [ "$2" == "loc" ]; then
|
||||||
[ "$location" ] && echo -n "$YELLOW $location" || echo -n "$YELLOW no location"
|
[ "$location" ] && echo -n "$YELLOW $location" || echo -n "$YELLOW no location"
|
||||||
|
@ -217,10 +218,10 @@ f__wget_test(){ # 5/12/2017
|
||||||
if [ "$retourWget" != "0" ]; then
|
if [ "$retourWget" != "0" ]; then
|
||||||
rm "$file_test_wget" 2>/dev/null
|
rm "$file_test_wget" 2>/dev/null
|
||||||
# f__error "wget, $retourWget" "$1" "$YELLOW$retourHttp" "$location"
|
# f__error "wget, $retourWget" "$1" "$YELLOW$retourHttp" "$location"
|
||||||
echo -e "$RED erreur wget, $retourWget \n $1 \n $YELLOW$retourHttp \n $location"
|
echo -e "$RED erreur wget, $retourWget \n $1 \n $YELLOW$retourHttp \n $location$STD"
|
||||||
fi
|
fi
|
||||||
if [ "$(grep -c '200' <<< $retourHttp)" -ne 0 ]; then
|
if [ "$(grep -c '200' <<< $retourHttp)" -ne 0 ]; then
|
||||||
echo -e "$GREEN\ntout est ok, réessayer\n$STD"
|
echo -e "$GREEN\ntout est ok, réessayer$STD\n"
|
||||||
fi
|
fi
|
||||||
rm "$file_test_wget" 2>/dev/null
|
rm "$file_test_wget" 2>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1.16.0 5/12/2017
|
## 1.16.1 5/12/2017
|
||||||
|
|
||||||
* nouveau: option - ( ou -46 ), ipv4 & ipv6
|
* nouveau: option - ( ou -46 ), ipv4 & ipv6
|
||||||
* nouveau: prg_init
|
* nouveau: prg_init
|
||||||
|
|
Loading…
Reference in New Issue