diff options
author | brian <brian@FreeBSD.org> | 1997-05-10 03:39:57 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-05-10 03:39:57 +0000 |
commit | 625e8802da19871e465f595a01b0cc34493cb200 (patch) | |
tree | 10b9c5f12ab5ab1eb73b70d01f34abe7d3acab11 /usr.sbin/ppp/defs.h | |
parent | ee523bb0cbc38ef1b0865690d30095b8d9453449 (diff) | |
download | FreeBSD-src-625e8802da19871e465f595a01b0cc34493cb200.zip FreeBSD-src-625e8802da19871e465f595a01b0cc34493cb200.tar.gz |
Add a ttyXX.if file in /var/run that points to
the tunX.pid file. Change the ppp.tunX.pid name
to tunX.pid
Requested by: Daniel O Callaghan <danny@panda.hilink.com.au>
Diffstat (limited to 'usr.sbin/ppp/defs.h')
-rw-r--r-- | usr.sbin/ppp/defs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h index a6b7152..bd5e1ad 100644 --- a/usr.sbin/ppp/defs.h +++ b/usr.sbin/ppp/defs.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: defs.h,v 1.12 1997/04/21 01:01:41 brian Exp $ + * $Id: defs.h,v 1.13 1997/05/04 02:39:03 ache Exp $ * * TODO: */ @@ -39,8 +39,10 @@ #define LOGFILE "/var/log/ppp.tun%d.log" /* Name of log file */ #ifdef __FreeBSD__ #define MODEM_DEV "/dev/cuaa1" /* name of tty device */ +#define BASE_MODEM_DEV "cuaa1" /* name of base tty device */ #else #define MODEM_DEV "/dev/tty01" /* name of tty device */ +#define BASE_MODEM_DEV "tty01" /* name of base tty device */ #endif #define MODEM_SPEED B38400 /* tty speed */ #define SERVER_PORT 3000 /* Base server port no. */ |