#!/bin/sh
SPOOL=/var/spool/sms # TODO put in a conf file?
if [ "$1" = "-f" ]; then
  tail -f "$SPOOL"
else
  cat "$SPOOL"
fi
