Explorar el Código

adding some delay between startup processes

clementinecomputing hace 6 años
padre
commit
dc74b132f7
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      busunit/scripts/rc.local

+ 4 - 0
busunit/scripts/rc.local

@@ -21,9 +21,13 @@
 #
 
 /home/bus/bin/setup-serial.py 2>&1 >> /tmp/init.log
+sleep 2
 /home/bus/bin/get_net_ids.sh 2>&1 >> /tmp/init.log
+sleep 2
 
 /home/bus/bin/connection_tether.sh 2>&1 >> /tmp/tether.log &
+sleep 2
 /home/bus/bin/update_loop.sh 2>&1 >> /tmp/run.log &
+sleep 2
 
 exit 0