Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Sat6: Checking connection to cdn.redhat.com #40

Open
jhutar opened this issue Nov 3, 2016 · 0 comments
Open

Sat6: Checking connection to cdn.redhat.com #40

jhutar opened this issue Nov 3, 2016 · 0 comments

Comments

@jhutar
Copy link
Collaborator

jhutar commented Nov 3, 2016

https://github.com/boogiespook/sat6_healthCheck/blob/master/sat6_healthCheck.sh#L304-L314

function checkNetworkConnection {
    echo -e "
#######################
## Connection Status ##
#######################
    "
    # Connection to cdn.redhat.com
    echo " + Checking connection to cdn.redhat.com"
    ms=$(ping -c5 cdn.redhat.com | awk -F"/" '/^rtt/ {print $5}')
    echo " -  Complete.  Average was $ms ms"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant