summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-12-03 00:07:49 +0000
committerwollman <wollman@FreeBSD.org>1994-12-03 00:07:49 +0000
commit35374ac0bee102b1bc5f9b60471a99b0dbace8d1 (patch)
treed9ddd49ec8256e5a084a0d5017eef92a77681892 /etc/MAKEDEV
parentcdc629bac880459077d5ee376fe1ef9e8f592e6a (diff)
downloadFreeBSD-src-35374ac0bee102b1bc5f9b60471a99b0dbace8d1.zip
FreeBSD-src-35374ac0bee102b1bc5f9b60471a99b0dbace8d1.tar.gz
Add cronyx driver entries.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV24
1 files changed, 23 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index cdcc412..e5d20f5 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -71,7 +71,7 @@
# socksys iBCS2 socket system driver
# vat VAT compatibility audio driver (requires snd*)
#
-# $Id: MAKEDEV,v 1.49 1994/11/12 15:48:54 ache Exp $
+# $Id: MAKEDEV,v 1.50 1994/12/02 16:08:53 jkh Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -601,6 +601,28 @@ apm)
chmod 660 apm0
;;
+ttyx?|ttyy?|ttyz?)
+ case $i in
+ *0) unit=0;; *1) unit=1;; *2) unit=2;; *3) unit=3;;
+ *4) unit=4;; *5) unit=5;; *6) unit=6;; *7) unit=7;;
+ *8) unit=8;; *9) unit=9;; *a) unit=10;; *b) unit=11;;
+ *c) unit=12;; *d) unit=13;; *e) unit=14;; *f) unit=15;;
+ esac
+ case $i in
+ ttyy?) unit=`expr $unit \+ 16`;;
+ ttyz?) unit=`expr $unit \+ 32`;;
+ esac
+ rm -f $i
+ mknod $i c 42 $unit
+ chown uucp.wheel $i
+ ;;
+
+cronyx)
+ rm -f cronyx
+ mknod cronyx c 42 63
+ chown 444 cronyx
+ ;;
+
local)
umask 0
sh MAKEDEV.local
OpenPOWER on IntegriCloud