summarylogtreecommitdiffstats
path: root/lazyman.install
blob: 517eef7ccdaec6f7adc01fe69f2d56a053e0958c (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
    local ip=$(drill -4 freegamez.ga @8.8.8.8 A |grep ANSWER -A1 |awk '/freegamez.ga/ { print $5 }')
    if [[ ! $(grep "$ip" /etc/hosts) ]]; then
        echo
        echo " You must add the following lines to your /etc/hosts file"
        echo " "$ip" mf.svc.nhl.com"
        echo " "$ip" playback.svcs.mlb.com"
        echo
    fi
}