|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/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. |
|
|
|
# All rights reserved. |
|
|
@ -245,8 +245,8 @@ pty*) |
|
|
|
do |
|
|
|
nam=$name`hex $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` |
|
|
|
done |
|
|
|
umask 77 |
|
|
|