Browse Source

Updates for SCSI scanner and SCSI unknown devices.

Removed MI *dev_decl() stuff that is now in sys/conf.h
OPENBSD_2_1
kstailey 28 years ago
parent
commit
381ce78d14
1 changed files with 24 additions and 1 deletions
  1. +24
    -1
      src/etc/etc.pc532/MAKEDEV

+ 24
- 1
src/etc/etc.pc532/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.7 1996/09/18 22:03:45 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.8 1996/11/11 23:10:33 kstailey Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -54,6 +54,8 @@
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# tun* network tunnel driver # tun* network tunnel driver
# *random random data source # *random random data source
# uk* unknown SCSI
# ss* SCSI scanners
# #
PATH=/sbin:/usr/sbin:/bin:/usr/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin
@ -68,6 +70,8 @@ all)
sh MAKEDEV pty0 pty1 vnd0 vnd1 bpf0 bpf1 bpf2 bpf3 ipl sh MAKEDEV pty0 pty1 vnd0 vnd1 bpf0 bpf1 bpf2 bpf3 ipl
sh MAKEDEV tun0 tun1 tun2 lkm random sh MAKEDEV tun0 tun1 tun2 lkm random
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 sh MAKEDEV ccd0 ccd1 ccd2 ccd3
sh MAKEDEV uk0 uk1
sh MAKEDEV ss0
;; ;;
floppy) floppy)
@ -257,6 +261,25 @@ random|srandom|urandom|prandom|arandom)
chmod 644 random srandom urandom prandom arandom chmod 644 random srandom urandom prandom arandom
;; ;;
uk*)
unit=`expr $i : 'uk\(.*\)'`
rm -f uk$unit
mknod uk$unit c 21 $unit
chown root.operator uk$unit
chmod 640 uk$unit
;;
ss*)
unit=`expr $i : 'ss\(.*\)'`
rm -f ss$unit
mknod ss$unit c 22 $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
;;
local) local)
umask 0 umask 0
sh MAKEDEV.local sh MAKEDEV.local


Loading…
Cancel
Save