RS232 relay board 8fold (Conrad Electronics - part no. 967720)
This package provides an API for controlling the relay board. A command line utility, relayboard_ctl, is included for controlling the relay board directly from a shell (or script).
...go straight here for source code.