summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc/MAKEDEV
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-09-07 01:35:17 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-09-07 01:35:17 +0000
commitec729a69cdbcda29321107c9414ffb910888f46a (patch)
tree5a2805b2805fc8fbb54f31349b746ce19a259542 /etc/etc.powerpc/MAKEDEV
parent27c82df930a35b434040bbc912894e2d48779edb (diff)
Add device nodev for wsdisplay, wskbd, wsmouse as required by wsconctl.
Diffstat (limited to 'etc/etc.powerpc/MAKEDEV')
-rw-r--r--etc/etc.powerpc/MAKEDEV31
1 files changed, 30 insertions, 1 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index 79a480e3ebb..44eee4f4ae4 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.30 2000/09/06 02:54:26 rahnds Exp $
+# $OpenBSD: MAKEDEV,v 1.31 2000/09/07 01:35:16 rahnds Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -577,6 +577,35 @@ ss*)
rm -f scan$unit
ln -s ss$unit scan$unit
;;
+wscons*)
+ unit=${i##*[a-z]}
+ sh $this wsdisplay${unit} wskbd${unit} wsmouse${unit}
+ ;;
+wsdisplay*)
+ unit=${i##*[a-z]}
+ rm -f wsdisplay${unit}
+ mknod wsdisplay${unit} c 67 ${unit}
+ # XXX
+ chmod 660 wsdisplay${unit}
+ chown root.wheel wsdisplay${unit}
+ ;;
+wskbd*)
+ unit=${i##*[a-z]}
+ rm -f wskbd${unit}
+ mknod wskbd${unit} c 68 ${unit}
+ # XXX
+ chmod 660 wskbd${unit}
+ chown root.wheel wskbd${unit}
+ ;;
+wsmouse*)
+ unit=${i##*[a-z]}
+ rm -f wsmouse${unit}
+ mknod wsmouse${unit} c 69 ${unit}
+ # XXX
+ chmod 660 wsmouse${unit}
+ chown root.wheel wsmouse${unit}
+ ;;
+
xfs*)
rm -f xfs$unit
mknod xfs$unit c 51 $unit