Sfoglia il codice sorgente

adding initial setup of ttyPIU

* trying to have the ttyPIU setup earlier in the process instead of waiting
  for the cron job to fire.
* rc.local now has an explicit initial call to 'popufare_monitor' that will
  try to setup /dev/ttyPIU
clementinecomputing 4 anni fa
parent
commit
e6c5d48cc4

+ 4 - 0
busunit/rootfs/etc/rc.local

@@ -22,6 +22,10 @@
 
 /home/bus/bin/setup-serial.py >> /tmp/init.log 2>&1
 sleep 2
+
+/home/bus/bin/popufare_monitor >> /home/bus/log/init.log 2>&1 &
+sleep 2
+
 /home/bus/bin/get_net_ids.sh >> /tmp/init.log 2>&1
 sleep 2
 

+ 2 - 1
experiment/production/housing/v-anise/export/export-all

@@ -48,7 +48,8 @@ for fn in `ls ../Popufare*.scad  | grep -v PopufareHousingCommon.scad ` ; do
   echo "${bfn}Plate();" >> $tmpfn
 
   openscad -o "$svg" "$tmpfn"
-  ./svg2ngc "$svg" 2> /dev/null
+  svg2ngc "$svg" 2> /dev/null
+  #./svg2ngc "$svg" 2> /dev/null
   ngc_position "$ngc" 2> /dev/null
 
   #sed -i 's/F800/F150/g' "$ngc"