#! /bin/bash

# Initialize select Raspberry Pi B+ GPIO lines to outputs, and set the
# Home Automation (HA) system's corresponding relay control-lines to "on".
# (the relay controls use negative-logic)
# See the ha.table file for a SigID/GPIO cross-reference. 

for SigID in {1..8} ; do
  /home/pi/bin/hactl $SigID set on
done

exit 0

