#!/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 $
#
# Copyright (c) 1990 The Regents of the University of California.
1) offset=16 name=q;;
2) offset=32 name=r;;
3) offset=48 name=s;;
-# Note that telnetd, rlogind, and xterm (at least) only look at p-s.
4) offset=64 name=t;;
*) echo bad unit for pty in: $i;;
esac
"mknod pty%s%x c 5 %d; ", \
n, i, n, i, n, i, b+i, n, i, b+i); }'`
umask 77
- if [ $class = 1 ]; then
- mv ttyqf ttyv0; mv ptyqf ptyv0
- fi
;;
esac
;;