|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.15 1997/04/21 08:18:02 downsj Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.16 1997/04/22 08:00:02 downsj Exp $ |
|
|
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $ |
|
|
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
@ -340,7 +340,6 @@ pty*) |
|
|
1) offset=16 name=q;; |
|
|
1) offset=16 name=q;; |
|
|
2) offset=32 name=r;; |
|
|
2) offset=32 name=r;; |
|
|
3) offset=48 name=s;; |
|
|
3) offset=48 name=s;; |
|
|
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. |
|
|
|
|
|
4) offset=64 name=t;; |
|
|
4) offset=64 name=t;; |
|
|
*) echo bad unit for pty in: $i;; |
|
|
*) echo bad unit for pty in: $i;; |
|
|
esac |
|
|
esac |
|
@ -354,9 +353,6 @@ pty*) |
|
|
"mknod pty%s%x c 5 %d; ", \ |
|
|
"mknod pty%s%x c 5 %d; ", \ |
|
|
n, i, n, i, n, i, b+i, n, i, b+i); }'` |
|
|
n, i, n, i, n, i, b+i, n, i, b+i); }'` |
|
|
umask 77 |
|
|
umask 77 |
|
|
if [ $class = 1 ]; then |
|
|
|
|
|
mv ttyqf ttyv0; mv ptyqf ptyv0 |
|
|
|
|
|
fi |
|
|
|
|
|
;; |
|
|
;; |
|
|
esac |
|
|
esac |
|
|
;; |
|
|
;; |
|
|