1
0
mirror of https://github.com/byReqz/status.git synced 2024-11-21 15:23:15 +00:00
This commit is contained in:
Nils 2021-09-20 11:08:45 +02:00
parent 92151f3c22
commit 8ca6ee3479
Signed by: byreqz
GPG Key ID: 396A62D7D436749E

12
status.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/env bash
if [[ -z "$ping_hosts" ]];then
ping_hosts="nils.lol"
fi
if [[ -z "$http_hosts" ]];then
http_hosts="https://nils.lol"
fi
function get_code {
http_results="$(curl -s -I $http_hosts | grep HTTP)"
}