#!/bin/sh

cd $WRKSRC || exit 1
cp policy.h-dist policy.h

cat >> policy.h <<END

#undef DEFAULT_LOGIN_PROGRAM 
#define DEFAULT_LOGIN_PROGRAM "/usr/bin/login"

#define CNDFILE               "dialin.config"

#undef MGETTY_PID_FILE
#define MGETTY_PID_FILE	      "/var/run/mg-pid.%s"

#undef LOCK
#define LOCK "/var/spool/lock/LCK..%s"

#undef MAILER
#define MAILER		"/usr/sbin/sendmail"

#undef FAX_NOTIFY_PROGRAM
#define SYSLOG

END

exit 0
