From 66bcf84bd6542e3170fb0a9adb7255dd83efa205 Mon Sep 17 00:00:00 2001 From: drahn <> Date: Sat, 3 Mar 2001 06:09:25 +0000 Subject: [PATCH] Reorder to prevent wskbd*) from matching "wskbd" when wskbd) also exists. --- src/etc/etc.powerpc/MAKEDEV | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/etc/etc.powerpc/MAKEDEV b/src/etc/etc.powerpc/MAKEDEV index d97309da..d54825cb 100644 --- a/src/etc/etc.powerpc/MAKEDEV +++ b/src/etc/etc.powerpc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.39 2001/02/13 14:21:33 drahn Exp $ +# $OpenBSD: MAKEDEV,v 1.40 2001/03/03 06:09:25 drahn Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -574,6 +574,14 @@ wscons) sh $this ttyCcfg sh $this wsmux ;; +wsmux|wsmouse|wskbd) + rm -f wsmouse wskbd + mknod wsmouse c 70 0 + mknod wskbd c 70 1 + chown root.wheel wsmouse wskbd + chmod 600 wsmouse wskbd + ;; + wskbd*) unit=${i##*[a-z]} rm -f wskbd${unit} @@ -591,14 +599,6 @@ wsmouse*) chown root.wheel wsmouse${unit} ;; -wsmux|wsmouse|wskbd) - rm -f wsmouse wskbd - mknod wsmouse c 69 0 - mknod wskbd c 69 1 - chown root.wheel wsmouse wskbd - chmod 600 wsmouse wskbd - ;; - xfs*) rm -f xfs$unit mknod xfs$unit c 51 $unit