summaryrefslogtreecommitdiff
path: root/etc/etc.atari/MAKEDEV
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-23 03:18:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-23 03:18:49 +0000
commitbab8e641c447b3d9ca471c5fe1244b190c479b79 (patch)
tree02305661b621846c4ffbd092483cde299d6baf6b /etc/etc.atari/MAKEDEV
parentef66b20c1c38c380c7524dbe77f613dd418b23a9 (diff)
sync with netbsd 960418
Diffstat (limited to 'etc/etc.atari/MAKEDEV')
-rw-r--r--etc/etc.atari/MAKEDEV14
1 files changed, 12 insertions, 2 deletions
diff --git a/etc/etc.atari/MAKEDEV b/etc/etc.atari/MAKEDEV
index 29397bc7a53..a7b99e9fe0b 100644
--- a/etc/etc.atari/MAKEDEV
+++ b/etc/etc.atari/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.7 1996/01/11 21:34:48 leo Exp $
+# $NetBSD: MAKEDEV,v 1.8 1996/03/27 14:27:53 leo Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -61,6 +61,9 @@
# Pointing devices:
# mouse* Atari mice
#
+# Printer:
+# lpt0 centronics printer
+#
# Terminal ports:
# ser02 serial2 port (channel A on 8530)
# mdm02 modem2 port (channel B on 8530)
@@ -89,7 +92,7 @@ all)
sh MAKEDEV vnd3 vnd4 view00 view01 view02 view03 view04 view05 pty0
sh MAKEDEV vnd5 vnd6 cd0 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3
sh MAKEDEV ccd0 ccd1 ccd2 ccd3
- sh MAKEDEV tun0 tun1 lkm ser02 mdm02 local
+ sh MAKEDEV tun0 tun1 lkm ser02 mdm02 lpt0 local
;;
floppy)
@@ -364,6 +367,13 @@ pty*)
esac
;;
+lpt*)
+ unit=`expr $i : 'lpt\(.*\)'`
+ rm -f lpt$unit
+ mknod lpt$unit c 29 $unit
+ chown root.wheel lpt$unit
+ ;;
+
bpf*)
unit=`expr $i : 'bpf\(.*\)'`
rm -f bpf$unit