From b124d70f678b88d36677a791bbb85397a1eaf353 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Thu, 27 Mar 2014 03:04:16 -0600 Subject: [PATCH] added btsync check and start --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bashrc b/bashrc index eb26673..a094a54 100644 --- a/bashrc +++ b/bashrc @@ -33,3 +33,8 @@ if dropbox.py running ; then #start dropbox ~/bin/dropbox.py start fi +#check if btsync running and start +if ! ps -A | grep -q btsync ; then + #start btsync + btsync --config ~/.config/btsync/btsync.conf +fi