diff options
author | bde <bde@FreeBSD.org> | 1995-04-28 07:39:21 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-04-28 07:39:21 +0000 |
commit | 9b057d0c4df5a81d3b251bbff98b18c01ec4cc0d (patch) | |
tree | b61a97f09b07f87cd5d3d5cf5ef828a65e76571b /etc | |
parent | 264eb0fa799870b64a863be3cc1d6bde8c0d1c3b (diff) | |
download | FreeBSD-src-9b057d0c4df5a81d3b251bbff98b18c01ec4cc0d.zip FreeBSD-src-9b057d0c4df5a81d3b251bbff98b18c01ec4cc0d.tar.gz |
Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 24 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 24 |
2 files changed, 46 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 224d697..586e5b0 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -83,7 +83,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.84 1995/04/26 08:07:30 bde Exp $ +# $Id: MAKEDEV,v 1.85 1995/04/28 00:51:02 dufault Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -625,6 +625,28 @@ tty0?|ttyd?|tty?) chown root.wheel tty*d$unit ;; +cuac?) + umask 7 + unit=`expr $i : 'cua.*\(.\)$'` + rm -f cua*c$unit + m=`ttyminor $unit` + mknod cuac$unit c 48 `expr $m + 128` + mknod cuaic$unit c 48 `expr $m + 32 + 128` + mknod cualc$unit c 48 `expr $m + 64 + 128` + chown uucp.dialer cua*c$unit + umask 77 + ;; + +ttyc?) + unit=`expr $i : 'tty.*\(.\)$'` + rm -f tty*c$unit + m=`ttyminor $unit` + mknod ttyc$unit c 48 $m + mknod ttyic$unit c 48 `expr $m + 32` + mknod ttylc$unit c 48 `expr $m + 64` + chown root.wheel tty*c$unit + ;; + cuar?) umask 7 unit=`expr $i : 'cua.*\(.\)$'` diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 224d697..586e5b0 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -83,7 +83,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.84 1995/04/26 08:07:30 bde Exp $ +# $Id: MAKEDEV,v 1.85 1995/04/28 00:51:02 dufault Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -625,6 +625,28 @@ tty0?|ttyd?|tty?) chown root.wheel tty*d$unit ;; +cuac?) + umask 7 + unit=`expr $i : 'cua.*\(.\)$'` + rm -f cua*c$unit + m=`ttyminor $unit` + mknod cuac$unit c 48 `expr $m + 128` + mknod cuaic$unit c 48 `expr $m + 32 + 128` + mknod cualc$unit c 48 `expr $m + 64 + 128` + chown uucp.dialer cua*c$unit + umask 77 + ;; + +ttyc?) + unit=`expr $i : 'tty.*\(.\)$'` + rm -f tty*c$unit + m=`ttyminor $unit` + mknod ttyc$unit c 48 $m + mknod ttyic$unit c 48 `expr $m + 32` + mknod ttylc$unit c 48 `expr $m + 64` + chown root.wheel tty*c$unit + ;; + cuar?) umask 7 unit=`expr $i : 'cua.*\(.\)$'` |