'sslchecker' ändern

add t
This commit is contained in:
Kaisa Marysia 2020-05-07 08:40:49 +02:00
parent c97be46f36
commit 6cb08bef31

View file

@ -30,6 +30,14 @@ while [ "$1" ]; do
shift shift
port="$1" port="$1"
;; ;;
-u)
shift
source="update"
;;
-v)
shift
source="version"
;;
--help) --help)
usage usage
exit 0 exit 0
@ -92,3 +100,12 @@ RemoteCheck | ValidDate
echo -e '\e[90m\e[1m\e[102mA and AAAA Records:\e[0m' echo -e '\e[90m\e[1m\e[102mA and AAAA Records:\e[0m'
Records Records
fi fi
if [ "$source" == "update" ]; then
curl https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker -o /usr/bin/sslchecker
chmod +x /usr/bin/sslchecker
fi
if [ "$source" == "version" ]; then
echo "Version 2020-05-07"
fi