fixes as given by Bernd Ernesti <bernd@arresum.inka.de> in pr#1396, plus cleanup

This commit is contained in:
chopps 1995-09-30 07:11:20 +00:00
parent a6af943990
commit 27c7bf6d82
2 changed files with 16 additions and 14 deletions

View File

@ -31,7 +31,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $Id: MAKEDEV,v 1.15 1995/08/19 17:28:22 chopps Exp $
# $Id: MAKEDEV,v 1.16 1995/09/30 07:11:20 chopps Exp $
#
# from:
# hp300/MAKEDEV (1/15/94), from:
@ -72,7 +72,8 @@
# par* motherboard parallel port
#
# Special purpose devices:
# grf* custom chip (grf0) or Retina (grf1) video
# grf* custom chip (grf0) or Retina Z2/Z3 (grf1/grf2),
# Cirrus boards (grf3) or A2410 (grf4) video
# kbd Amiga keyboard
# view* generic interface to graphic displays.
# aconf autoconfig information (not yet)
@ -96,9 +97,10 @@ all)
;;
floppy)
sh MAKEDEV std st0 ttye0 ttye1 ttye2 ttye3 ttye4 tty00 grf0 grf1
sh MAKEDEV grf2 grf3 grf4 kbd
sh MAKEDEV sd0 sd1 sd2 sd3 sd4 sd5 sd6 cd0 fd0 fd1
sh MAKEDEV std kbd pty0 tty00 ttyA0 ttyA1 tun0 tun1
sh MAKEDEV grf0 grf1 grf2 grf3 grf4 ttye0 ttye1 ttye2 ttye3 ttye4
sh MAKEDEV cd0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 st0
sh MAKEDEV fd0 fd1 fd2 fd3
;;
std)
@ -261,7 +263,7 @@ cd*)
tty0*|ttyA*)
type=`expr $i : 'tty\(.\).'`
unit=`expr $i : 'tty.\(.\)'`
rm -f ser${unit} tty0${unit} ttym${unit}
rm -f ser${unit}
case $type in
0) case $unit in
0)
@ -406,7 +408,7 @@ bpf*)
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit
mknod tun$unit c 40 $unit
mknod tun$unit c 23 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
;;

View File

@ -1,17 +1,17 @@
#
# from: @(#)ttys 5.1 (Berkeley) 4/17/89
# $Id: ttys,v 1.9 1995/08/19 17:28:28 chopps Exp $
# $Id: ttys,v 1.10 1995/09/30 07:11:24 chopps Exp $
#
# name getty type status comments
#
# If the console is marked insecure, single-user requires
# the root password.
console "/usr/libexec/getty Pc" vt200 off secure
ttye0 "/usr/libexec/getty Pc" vt200 on secure # custom chips
ttye1 "/usr/libexec/getty Pc" vt200 on secure # retina
ttye2 "/usr/libexec/getty Pc" vt200 on secure # retina
ttye3 "/usr/libexec/getty Pc" vt200 on secure # cirrus logic
ttye4 "/usr/libexec/getty Pc" vt200 on secure # a2410
console "/usr/libexec/getty Pc" vt220 off secure
ttye0 "/usr/libexec/getty Pc" vt220 on secure # custom chips
ttye1 "/usr/libexec/getty Pc" vt220 on secure # retina
ttye2 "/usr/libexec/getty Pc" vt220 on secure # retina
ttye3 "/usr/libexec/getty Pc" vt220 on secure # cirrus logic
ttye4 "/usr/libexec/getty Pc" vt220 on secure # a2410
tty00 "/usr/libexec/getty std.9600" unknown off secure # int. serial.
ttyp0 none network
ttyp1 none network