diff --git a/status.sh b/status.sh new file mode 100755 index 0000000..c3b8d88 --- /dev/null +++ b/status.sh @@ -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)" +}