summaryrefslogtreecommitdiff
path: root/etc/etc.i386/MAKEDEV
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-11-06 23:46:06 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-11-06 23:46:06 +0000
commitc35bb91d81e26f0219e95a6309ea71a1abd06556 (patch)
treebe2a003a48de6802ed4bda533ead9731c99010c1 /etc/etc.i386/MAKEDEV
parent84a3f13de28a723165307dcd0fdae4a59e2f35c5 (diff)
Add USB scanner device node to macppc and i386, both of these had the
uscanner compiled into the kernel, but no device node, or even entry in the character device switch table. ok todd@
Diffstat (limited to 'etc/etc.i386/MAKEDEV')
-rw-r--r--etc/etc.i386/MAKEDEV11
1 files changed, 9 insertions, 2 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 3fdbb9595eb..3e6fd3633c6 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.104 2001/10/04 22:38:13 gluk Exp $
+# $OpenBSD: MAKEDEV,v 1.105 2001/11/06 23:46:05 drahn Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -221,7 +221,7 @@ usbs)
sh $this usb0 usb1
sh $this uhid0 uhid1 uhid2 uhid3
sh $this ulpt0 ulpt1
- sh $this urio0
+ sh $this urio0 uscanner0
sh $this utty0 utty1
;;
@@ -282,6 +282,13 @@ urio*)
chmod 660 urio$unit
;;
+uscanner*)
+ rm -f uscanner$unit
+ mknod uscanner$unit c 77 $unit
+ chown root.wheel uscanner$unit
+ chmod 660 uscanner$unit
+ ;;
+
ugen*)
for j in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
do