diff --git a/src/etc/etc.i386/MAKEDEV b/src/etc/etc.i386/MAKEDEV index 3fdbb959..3e6fd363 100644 --- a/src/etc/etc.i386/MAKEDEV +++ b/src/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 diff --git a/src/etc/etc.macppc/MAKEDEV b/src/etc/etc.macppc/MAKEDEV index 0514b3ba..e317f44d 100644 --- a/src/etc/etc.macppc/MAKEDEV +++ b/src/etc/etc.macppc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.2 2001/10/03 14:50:38 drahn Exp $ +# $OpenBSD: MAKEDEV,v 1.3 2001/11/06 23:46:05 drahn Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -212,7 +212,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 ;; @@ -513,6 +513,13 @@ urio*) chmod 660 urio$unit ;; +uscanner*) + rm -f uscanner$unit + mknod uscanner$unit c 74 $unit + chown root.wheel uscanner$unit + chmod 660 uscanner$unit + ;; + utty*) rm -f utty$unit mknod utty$unit c 66 $unit