/*-----------------------------------------------------------------------*
  CLASS: watchdog

  DESCRIPTION: Main file for watchdog driver

  $Id: _watchdog.cc,v 1.1 2000/03/20 17:21:29 oreilly Exp $
 *-----------------------------------------------------------------------*/

#include "Watchdog.h"
#include "Syslog.h"


int main(int argc, char **argv)
{
     try {
	  SerialDevice *device = new SerialDevice("/dev/ser12");
	  Watchdog *watchdog = new Watchdog( device );
	  watchdog->run();
     }
     catch (...) {
	  Syslog::write("watchdog - caught exception!\n");
     }
     
     return 0;
}

