summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-12-03 14:01:01 +0000
committerjkh <jkh@FreeBSD.org>1994-12-03 14:01:01 +0000
commit69bb6a6b4151e4bef856c06012668494ed89ad4d (patch)
tree2e41cbd4abbc202122e32475fda80dc8b303e9e3 /etc/MAKEDEV
parent4047e040e23a66e83a8aa28b66ae55ba161f363c (diff)
downloadFreeBSD-src-69bb6a6b4151e4bef856c06012668494ed89ad4d.zip
FreeBSD-src-69bb6a6b4151e4bef856c06012668494ed89ad4d.tar.gz
Add back the Croynx stuff I nuked accidently. I'm not touching this
file anymore after this. My link makes it too painful to make interactive mods, and I don't have the CVS tree here so making changes for "previous history" have to get done on freefall, with the corresponding degree of pain.
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 d488ce5..eb93541 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.50 1994/12/02 16:08:53 jkh Exp $
+# $Id: MAKEDEV,v 1.51 1994/12/03 00:07:49 wollman 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