[tor-commits] [ooni-probe/master] Add /usr/local/bin to $PATH

art at torproject.org art at torproject.org
Mon Mar 24 15:02:47 UTC 2014


commit 31068203629bc83d31306da7949d6ebc733121b8
Author: Arturo Filastò <art at fuffa.org>
Date:   Wed Mar 19 00:47:23 2014 +0100

    Add /usr/local/bin to $PATH
---
 scripts/install_on_planetlab.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/install_on_planetlab.sh b/scripts/install_on_planetlab.sh
index 123851f..eb75375 100644
--- a/scripts/install_on_planetlab.sh
+++ b/scripts/install_on_planetlab.sh
@@ -140,7 +140,7 @@ cat /usr/share/ooni/ooniprobe.conf.sample | sed s/'start_tor: true'/'start_tor:
 mkdir /home/$USER/bridge_reachability/
 
 # Add cronjob to run ooniprobe daily
-{ crontab -l; echo "0 0 * * * /usr/local/bin/ooniprobe -c httpo://e2nl5qgtkzp7cibx.onion blocking/bridge_reachability -f /home/$USER/bridge_reachability/bridges.txt -t 300"; } | crontab
+{ crontab -l; echo "PATH=\$PATH:/usr/local/bin/\n0 0 * * * /usr/local/bin/ooniprobe -c httpo://e2nl5qgtkzp7cibx.onion blocking/bridge_reachability -f /home/$USER/bridge_reachability/bridges.txt -t 300"; } | crontab
 sudo /etc/init.d/crond start
 sudo /sbin/chkconfig crond on
 sudo chmod 777 /var/mail





More information about the tor-commits mailing list