Index: skolo/raspberry-pi/start_swarming |
diff --git a/skolo/raspberry-pi/startup-script.sh b/skolo/raspberry-pi/start_swarming |
similarity index 73% |
rename from skolo/raspberry-pi/startup-script.sh |
rename to skolo/raspberry-pi/start_swarming |
index 3fe5b31e647711ec3cb647d513f7fbae45500b59..7111dec12cc5ec4ca264b172ecbb44330c95c019 100644 |
--- a/skolo/raspberry-pi/startup-script.sh |
+++ b/skolo/raspberry-pi/start_swarming |
@@ -3,6 +3,10 @@ |
# Hack to get swarming access to /b |
sudo chmod 777 /b |
+# Wait 10s to make sure ssl is fully booted. Otherwise, we get an error |
+# when trying to download the bootstrap code. |
+sleep 10s |
stephana
2016/04/29 13:18:41
There is some more evidence that certain python co
kjlubick
2016/04/29 13:53:06
Agreed. I think systemd is more "modern" and more
|
+ |
if [ ! -d "/b/swarm_slave" ]; then |
cd /b |
echo "Bootstrapping swarming, expect a reboot" |