|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.14 1997/05/14 15:41:14 niklas Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.15 1997/05/25 18:50:16 millert Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
@ -245,8 +245,8 @@ pty*) |
|
|
do |
|
|
do |
|
|
nam=$name`hex $n` |
|
|
nam=$name`hex $n` |
|
|
rm -rf {tty,pty}$n |
|
|
rm -rf {tty,pty}$n |
|
|
mknod tty$nam c 5 `add $offset $n` |
|
|
|
|
|
mknod pty$nam c 6 `add $offset $n` |
|
|
|
|
|
|
|
|
mknod tty$nam c 4 `add $offset $n` |
|
|
|
|
|
mknod pty$nam c 5 `add $offset $n` |
|
|
n=`add $n 1` |
|
|
n=`add $n 1` |
|
|
done |
|
|
done |
|
|
umask 77 |
|
|
umask 77 |
|
|