1
0
mirror of https://github.com/byReqz/status.git synced 2024-11-21 23:33:14 +00:00
status/status.sh

13 lines
216 B
Bash
Raw Normal View History

2021-09-20 09:08:45 +00:00
#!/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)"
}