1
0
mirror of https://github.com/byReqz/status.git synced 2024-11-21 15:23:15 +00:00
status/status.sh
2021-09-20 11:08:45 +02:00

13 lines
216 B
Bash
Executable File

#!/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)"
}