Created
March 16, 2012 02:49
-
-
Save DTrejo/2048231 to your computer and use it in GitHub Desktop.
how to get dropbox and flux working on your sunlab account
This file contains hidden or 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
# | |
# add this to your ~/.bashrc | |
# | |
# start dropbox | |
if [ "$(pidof dropbox)" ] | |
then | |
# dont start | |
echo "dropbox is running" | |
else | |
# start | |
dropbox & | |
fi | |
# start flux | |
if [ "$(pidof xflux)" ] | |
then | |
# dont start | |
echo "xflux is running" | |
else | |
# start | |
xflux -z 02912 -k 2700 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment