Browse Source

corrections from mickey

OPENBSD_2_1
deraadt 27 years ago
parent
commit
5dfc68f57c
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/etc/etc.i386/MAKEDEV

+ 3
- 2
src/etc/etc.i386/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.44 1997/05/14 15:41:13 niklas Exp $
# $OpenBSD: MAKEDEV,v 1.45 1997/05/22 05:26:42 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -178,6 +178,7 @@ wt*)
rd*)
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
rm -f rd${unit}a rd${unit}c rrd${unit}a rrd${unit}c
mknod rd${unit}a b 17 `expr $unit '*' 16 + 0`
mknod rd${unit}c b 17 `expr $unit '*' 16 + 2`
mknod rrd${unit}a c 47 `expr $unit '*' 16 + 0`
@ -365,7 +366,7 @@ pty*)
while [ $n -lt 16 ]
do
nam=$name`hex $n`
rm -rf {tty,pty}$n
rm -rf {tty,pty}$nam
mknod tty$nam c 5 "$(( $offset + $n ))"
mknod pty$nam c 6 "$(( $offset + $n ))"
n="$(( $n + 1 ))"


Loading…
Cancel
Save