mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*.
This commit is contained in:
parent
2966c8b3da
commit
d45ae51059
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8120
24
etc/MAKEDEV
24
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.*\(.\)$'`
|
||||
|
@ -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.*\(.\)$'`
|
||||
|
Loading…
Reference in New Issue
Block a user