summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/scripts/configure
blob: 5f44af414f200aa868a7df5369184621b550f789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
#
# $NetBSD: configure,v 1.2 1998/11/15 20:45:30 tron Exp $

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	"wheel"

END

exit 0