Created
October 13, 2019 20:44
-
-
Save d-j-kendall/cf9f84bb27c043eda5260dfb4005650e to your computer and use it in GitHub Desktop.
file to be added to `/etc/profile.d/` which mounts google drive via application `google-drive-ocamlfuse` this will crash your xserver if you do not have the proper application installed
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 | |
if [ -d "/home/dkendall/GDRIVE" ]; | |
then | |
if mount | grep GDRIVE > /dev/null; | |
then | |
echo "Do nothing" > /dev/null | |
else | |
google-drive-ocamlfuse ~/GDRIVE | |
fi | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment