Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit a0fd6732 authored by Guillaume Mella's avatar Guillaume Mella
Browse files

add ftp

parent 889807d5
......@@ -41,9 +41,19 @@ handleIp(){
else
PING=""
fi
if curl -m 1 --retry-max-time 0 --connect-timeout 1 ftp://$IP &>/dev/null
then
FTP="ftp"
else
FTP=""
fi
if ! echo $HOST | grep $skipExpr &> /dev/null
then
echo "|$IP|$HOST| $PING |"
echo "|$IP|$HOST| $PING $FTP |"
fi
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment