mirror of
https://github.com/byReqz/status.git
synced 2024-11-21 15:23:15 +00:00
add headlines
This commit is contained in:
parent
e78841c582
commit
95306197ac
@ -48,12 +48,16 @@ function get_ping {
|
|||||||
|
|
||||||
printf [--------------------------------------------------------------------]
|
printf [--------------------------------------------------------------------]
|
||||||
if [[ "$ping_hosts" != "none" ]];then
|
if [[ "$ping_hosts" != "none" ]];then
|
||||||
|
echo ""
|
||||||
|
printf "\e[1;4mPing Hosts:\e[0m"
|
||||||
for p in "${ping_hosts[@]}";do
|
for p in "${ping_hosts[@]}";do
|
||||||
get_ping
|
get_ping
|
||||||
done
|
done
|
||||||
echo -e "$ping_results"
|
echo -e "$ping_results"
|
||||||
fi
|
fi
|
||||||
if [[ "$http_hosts" != "none" ]];then
|
if [[ "$http_hosts" != "none" ]];then
|
||||||
|
echo ""
|
||||||
|
printf "\e[1;4mHTTP Hosts:\e[0m"
|
||||||
for h in "${http_hosts[@]}";do
|
for h in "${http_hosts[@]}";do
|
||||||
get_code
|
get_code
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user