Setup Script - csv suri pins

This commit is contained in:
Mike Reeves
2018-04-10 14:55:29 -04:00
parent c013145275
commit 08461a1fbf

View File

@@ -352,7 +352,7 @@ sensor_pillar() {
echo " - $PIN" >> /tmp/$HOSTNAME.sls
done
ST=("${SURITHREADS[@]//\"/}")
STHREADS=$(IFS=,; echo "$ST")
STHREADS=${ST// /,}
echo " surithreads: $STHREADS" >> /tmp/$HOSTNAME.sls
else
echo " bro_lbprocs: $LBPROCS" >> /tmp/$HOSTNAME.sls