'sslchecker' ändern
add t
This commit is contained in:
parent
c97be46f36
commit
6cb08bef31
1 changed files with 17 additions and 0 deletions
17
sslchecker
17
sslchecker
|
|
@ -30,6 +30,14 @@ while [ "$1" ]; do
|
|||
shift
|
||||
port="$1"
|
||||
;;
|
||||
-u)
|
||||
shift
|
||||
source="update"
|
||||
;;
|
||||
-v)
|
||||
shift
|
||||
source="version"
|
||||
;;
|
||||
--help)
|
||||
usage
|
||||
exit 0
|
||||
|
|
@ -92,3 +100,12 @@ RemoteCheck | ValidDate
|
|||
echo -e '\e[90m\e[1m\e[102mA and AAAA Records:\e[0m'
|
||||
Records
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue