31 lines
504 B
Bash
31 lines
504 B
Bash
#!/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
|