diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-04-30 22:04:27 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-04-30 22:04:27 +0000 |
commit | 60b692c320ddd44f6bed8783c9fd6a516518b796 (patch) | |
tree | 0d67f98a730ba2d549c9406335772f7b81510e64 /etc/etc.arc/MAKEDEV | |
parent | 50d9fc5628e976924f75ce3e4409ad8100fb2ed7 (diff) |
Recognize SCSI scanner device (and create ss0 in "all")
Diffstat (limited to 'etc/etc.arc/MAKEDEV')
-rw-r--r-- | etc/etc.arc/MAKEDEV | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV index 345729f0a99..4952e45aad4 100644 --- a/etc/etc.arc/MAKEDEV +++ b/etc/etc.arc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.11 1997/04/23 20:39:01 gvf Exp $ +# $OpenBSD: MAKEDEV,v 1.12 1997/04/30 22:04:26 niklas Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -52,7 +52,7 @@ do case $i in all) - sh MAKEDEV std fd fd0 sd0 sd1 sd2 st0 cd0 tty00 tty01 pty0 pty1 + sh MAKEDEV std fd fd0 sd0 sd1 sd2 st0 cd0 ss0 tty00 tty01 pty0 pty1 sh MAKEDEV ttyC0 lpt0 pms0 random bpf0 local ;; @@ -219,6 +219,17 @@ cd*) umask 77 ;; +ss*) + unit=`expr $i : 'ss\(.*\)'` + rm -f ss$unit + mknod ss$unit c 34 $unit + chown root.operator ss$unit + chmod 440 ss$unit +# backwards compatibility with older PINTs + rm -f scan$unit + ln -s ss$unit scan$unit + ;; + lpt*) unit=`expr $i : 'lpt\(.*\)'` rm -f lpt$unit |