diff options
Diffstat (limited to 'comms/mgetty+sendfax/scripts/configure')
-rw-r--r-- | comms/mgetty+sendfax/scripts/configure | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/comms/mgetty+sendfax/scripts/configure b/comms/mgetty+sendfax/scripts/configure new file mode 100644 index 00000000000..b0683330b4a --- /dev/null +++ b/comms/mgetty+sendfax/scripts/configure @@ -0,0 +1,30 @@ +#!/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 FAX_LOG +#define FAX_LOG "/var/spool/fax/Faxlog" + +#undef MAILER +#define MAILER "/usr/sbin/sendmail" + +#undef DEVICE_GROUP +#define DEVICE_GROUP "uucp" + +END + +exit 0 |