28 lines
455 B
Bash
28 lines
455 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"
|
|
|
|
END
|
|
|
|
exit 0
|