This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Please note - This script tested on Centos-6,7/Redhat-6,7. | |
#Check Internet Connection | |
IS=`/bin/ping -c 5 4.2.2.2 | grep -c "64 bytes"` | |
if (test "$IS" -gt "2") then | |
internet_conn="1" | |
#Check Gdrive Software Install Or Not | |
file="/usr/bin/gdrive" | |
if [ -f "$file" ] | |
then |