Add ttyC? devices for com devices.

This commit is contained in:
matt 1999-07-31 00:00:03 +00:00
parent d4b9056054
commit 8e2f403f42

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.46 1999/04/26 04:20:04 abs Exp $
# $NetBSD: MAKEDEV,v 1.47 1999/07/31 00:00:03 matt Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -142,6 +142,14 @@ tty[abcd])
chown uucp.wheel tty$unit dty$unit
;;
ttyC*)
unit=${i#ttyC}
rm -f ttyC$unit dtyC$unit
mknod ttyC$unit c 36 $(($unit + $dialin ))
mknod dtyC$unit c 36 $(($unit + $dialout))
chown uucp.wheel ttyC$unit dtyC$unit
;;
fd)
rm -f fd/*
mkdir fd > /dev/null 2>&1