summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-02-13 14:21:34 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-02-13 14:21:34 +0000
commit1ca6e50f85b074479cc633464b5b934e204eafce (patch)
tree9869d32379c9f31d6f85f50966d1f06a0055adee /etc/etc.powerpc
parent3e5e7eb34c136379d2be44027a67b7177cecf1f6 (diff)
make the wscons device nodes, wscons0 did not exist.
Diffstat (limited to 'etc/etc.powerpc')
-rw-r--r--etc/etc.powerpc/MAKEDEV22
1 files changed, 16 insertions, 6 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index 5349342bd3b..d97309dae94 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.38 2001/02/05 01:42:49 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.39 2001/02/13 14:21:33 drahn Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -158,7 +158,7 @@ all)
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this tun0 tun1 tun2 tun3
sh $this random uk0 uk1 ss0 ss1
- sh $this wscons0
+ sh $this wscons
sh $this lkm xfs0
sh $this usbs
sh $this local
@@ -171,7 +171,7 @@ ramdisk)
sh $this rd0
sh $this random
sh $this tty00 tty01 pty0
- sh $this wscons0
+ sh $this wscons
;;
std)
@@ -568,9 +568,11 @@ ss*)
rm -f scan$unit
ln -s ss$unit scan$unit
;;
-wscons*)
- unit=${i##*[a-z]}
- sh $this ttyC${unit} wskbd${unit} wsmouse${unit}
+wscons)
+ sh $this wskbd0 wskbd1 wskbd2 wskbd3
+ sh $this wsmouse0 wsmouse1 wsmouse2 wsmouse3
+ sh $this ttyCcfg
+ sh $this wsmux
;;
wskbd*)
unit=${i##*[a-z]}
@@ -589,6 +591,14 @@ 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